From: Elan Ruusamäe Date: Thu, 19 Dec 2013 14:09:04 +0000 (+0200) Subject: fix status exit code X-Git-Tag: auto/th/tomcat-7.0.41-4~3^2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=6755b80cf50c22010bde0d3cdf25098408a9ca29;p=packages%2Ftomcat.git fix status exit code --- 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}"