From 929827d180281fa71b097d4d8664faa2aca13877 Mon Sep 17 00:00:00 2001 From: ankry Date: Mon, 7 Jul 2003 00:22:47 +0000 Subject: [PATCH] - fixed previous change Changed files: apache-tomcat.init -> 1.5 jakarta-tomcat.init -> 1.5 --- apache-tomcat.init | 2 +- jakarta-tomcat.init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apache-tomcat.init b/apache-tomcat.init index 364941c..1da6e95 100644 --- a/apache-tomcat.init +++ b/apache-tomcat.init @@ -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." msg_network_down tomcat exit 1 diff --git a/jakarta-tomcat.init b/jakarta-tomcat.init index 364941c..1da6e95 100644 --- a/jakarta-tomcat.init +++ b/jakarta-tomcat.init @@ -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." msg_network_down tomcat exit 1 -- 2.44.0