From 6755b80cf50c22010bde0d3cdf25098408a9ca29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 19 Dec 2013 16:09:04 +0200 Subject: [PATCH] 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}" -- 2.44.0