X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache1.init;h=01eaf2cf324908b4d485f9e71568709ccfc3dbb2;hb=bc107690373c976e55c9158ac863982678b7e3b9;hp=fcc381efadd4f0c489449175496988a185c8e51f;hpb=cdee1d6ec1704772d93642bec6b9d6d94f72801f;p=packages%2Fapache.git diff --git a/apache1.init b/apache1.init index fcc381e..01eaf2c 100644 --- a/apache1.init +++ b/apache1.init @@ -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." msg_network_down httpd exit 1