[Bug 288218] Re: tomcat6 initscript "status" action always return 0

Mathias Gug mathiaz at ubuntu.com
Thu Oct 23 17:39:44 BST 2008


The proposed fixe is:

diff -u tomcat6-6.0.18/debian/tomcat6.init tomcat6-6.0.18/debian/tomcat6.init
--- tomcat6-6.0.18/debian/tomcat6.init
+++ tomcat6-6.0.18/debian/tomcat6.init
@@ -184,8 +184,10 @@
 
 		if [ -f "$CATALINA_PID" ]; then
 		    log_success_msg "$DESC is not running, but pid file exists."
+			exit 1
 		else
 		    log_success_msg "$DESC is not running."
+			exit 3
 		fi
 	else
 		log_success_msg "$DESC is running with pid `cat $CATALINA_PID`"

-- 
tomcat6 initscript "status" action always return 0
https://bugs.launchpad.net/bugs/288218
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list