Too many values on output of init script printed out.
This commit is contained in:
parent
ef8c60d818
commit
fb9263a86c
4
atd.init
4
atd.init
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user