commit 4ffe5847eb4e714af139589c882267cdba1f425f
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Jan 30 22:39:22 2014 +0200

    rc-script: make status return something related to status

 apcupsd.init | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/apcupsd.init b/apcupsd.init
old mode 100644
new mode 100755
index dca9d8d..5fb4de0
--- a/apcupsd.init
+++ b/apcupsd.init
@@ -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}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apcupsd.git/commitdiff/4ffe5847eb4e714af139589c882267cdba1f425f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to