]> git.pld-linux.org Git - packages/apache.git/commitdiff
- fix in checking is netforking is up.
authorkloczek <kloczek@pld-linux.org>
Thu, 5 Aug 1999 20:53:33 +0000 (20:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.init -> 1.5

apache.init

index 0afc17176493fa6b2d758a1a3069126c716d92e6..fe6089aa11733abe20f27a143f52866d0de7349f 100644 (file)
 [ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
 
 # Check that networking is up.
-[ "${NETWORKING}" = "no" ] && echo "Error: Networking is down" && exit 0
-
+if [ "${NETWORKING}" = "no" ]; then
+       echo "WARNING: Networking is down. Apache can't be runed."
+       exit 1
+fi
 
 # See how we were called.
 case "$1" in
This page took 0.083417 seconds and 4 git commands to generate.