tags 445489 + patch
thanks
Here is a patch to solve the issue, by checking the exit code of
start_daemon and display status based on this.
diff -ur at-3.1.10/debian/rc at-3.1.10-pere/debian/rc
--- at-3.1.10/debian/rc 2005-10-24 06:25:14.000000000 +0200
+++ at-3.1.10-pere/debian/rc 2008-01-13 13:42:58.000000000 +0100
@@ -24,8 +24,11 @@
case "$1" in
start)
log_daemon_msg "Starting deferred execution scheduler" "atd"
- start_daemon $DAEMON
- log_end_msg $?
+ if start_daemon $DAEMON ; then
+ log_end_msg 0
+ else
+ log_end_msg 1
+ fi
;;
stop)
log_daemon_msg "Stopping deferred execution scheduler" "atd"
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]