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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to