]> git.pld-linux.org Git - packages/apcupsd.git/blobdiff - apcupsd.init
rc-script: make status return something related to status
[packages/apcupsd.git] / apcupsd.init
old mode 100644 (file)
new mode 100755 (executable)
index dca9d8d..5fb4de0
@@ -98,6 +98,7 @@ case "$1" in
        ;;
   status)
        /usr/sbin/apcaccess status
+       RETVAL=$?
        ;;
   *)
        msg_usage "$0 {start|stop|restart|try-restart|force-reload|powerdown|status}"
This page took 0.076866 seconds and 4 git commands to generate.