]> git.pld-linux.org Git - packages/daemontools.git/commitdiff
- report svstat output in status action
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 May 2008 19:35:02 +0000 (19:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    daemontools.init -> 1.18

daemontools.init

index 99c0fd034169e295c85853c6275621ee4aea834c..4a4391f074d9f6b7972e86a3c4188203daa2cc77 100644 (file)
@@ -96,7 +96,9 @@ case "$1" in
        ;;
   status)
        status svscan
-       exit $?
+       RETVAL=$?
+       svstat $SVSCAN_DIR/*
+       RETVAL=$(($RETVAL + $?))
        ;;
   *)
        msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"
This page took 0.202536 seconds and 4 git commands to generate.