]> git.pld-linux.org Git - packages/apache-tomcat.git/commitdiff
- fixed previous change
authorankry <ankry@pld-linux.org>
Mon, 7 Jul 2003 00:22:47 +0000 (00:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-tomcat.init -> 1.5
    jakarta-tomcat.init -> 1.5

apache-tomcat.init
jakarta-tomcat.init

index 364941cd4eb0958bbcfd8f01d2a3de194a5c821f..1da6e9576dbcdc5fe98c1e0dc6c86b7c42216700 100644 (file)
@@ -20,7 +20,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
+       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down tomcat
                exit 1
index 364941cd4eb0958bbcfd8f01d2a3de194a5c821f..1da6e9576dbcdc5fe98c1e0dc6c86b7c42216700 100644 (file)
@@ -20,7 +20,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
+       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down tomcat
                exit 1
This page took 0.046204 seconds and 4 git commands to generate.