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

apache.init
apache1.init

index 1397cb113cc90b290e5c97957b7449dcbc044ee9..145eef89e92eca7db042b8e2e0bba1fb938492a1 100644 (file)
@@ -23,7 +23,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 httpd
                exit 1
index fcc381efadd4f0c489449175496988a185c8e51f..01eaf2cf324908b4d485f9e71568709ccfc3dbb2 100644 (file)
@@ -21,7 +21,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 httpd
                exit 1
This page took 0.043845 seconds and 4 git commands to generate.