Too many values on output of init script printed out.

This commit is contained in:
Marcela Mašláňová 2010-08-04 14:33:24 +02:00
parent ef8c60d818
commit fb9263a86c

View File

@ -34,11 +34,10 @@ start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon $exec $OPTS && success || failure
daemon $exec $OPTS
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
@ -52,7 +51,6 @@ stop() {
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {