[packages/tomcat/logrotate] fix status exit code
glen
glen at pld-linux.org
Thu Dec 19 15:09:07 CET 2013
commit 6755b80cf50c22010bde0d3cdf25098408a9ca29
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/6755b80cf50c22010bde0d3cdf25098408a9ca29
More information about the pld-cvs-commit
mailing list