diff --git a/debian/compctl.init b/debian/compctl.init index 7eff3815203597e7b6f8b6faa482e874df494d49..41e27fe5043cc531f3be5b01c200ec0dc6e78295 100644 --- a/debian/compctl.init +++ b/debian/compctl.init @@ -63,7 +63,7 @@ do_stop() # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred - start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --exec $DAEMON RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks