[packages/tomcat] fix status exit code

glen glen at pld-linux.org
Thu Dec 19 15:09:37 CET 2013


commit e1799c79be8d5d538202e6f930d2da38c66ef354
Author: Elan Ruusamäe <glen at delfi.ee>
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/e1799c79be8d5d538202e6f930d2da38c66ef354



More information about the pld-cvs-commit mailing list