]> git.pld-linux.org Git - packages/apcupsd.git/commitdiff
rc-script: make status return something related to status
authorElan Ruusamäe <glen@delfi.ee>
Thu, 30 Jan 2014 20:39:22 +0000 (22:39 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 30 Jan 2014 20:39:22 +0000 (22:39 +0200)
apcupsd.init [changed mode: 0644->0755]

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.060656 seconds and 4 git commands to generate.