commit 6755b80cf50c22010bde0d3cdf25098408a9ca29
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Dec 19 16:09:04 2013 +0200

    fix status exit code

 apache-tomcat.init | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/apache-tomcat.init b/apache-tomcat.init
index ff0a2fa..591ad99 100755
--- a/apache-tomcat.init
+++ b/apache-tomcat.init
@@ -133,6 +133,7 @@ case "$1" in
        ;;
   status)
        status --pidfile /var/run/tomcat.pid tomcat tomcat
+       exit $?
        ;;
   *)
        msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomcat.git/commitdiff/6755b80cf50c22010bde0d3cdf25098408a9ca29

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

Reply via email to