]> git.pld-linux.org Git - packages/squid.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:
    squid.init -> 1.7

squid.init

index 735a863cefcb77c584d8bb0626b2ebd1c85afad0..3ddbef7b9aebb5b1a5e47562913007f5ae1751b5 100644 (file)
 [ -f /etc/sysconfig/squid ] && . /etc/sysconfig/squid
 
 # Check that networking is up.
-[ "${NETWORKING}" = "no" ] && echo "Error: Networking is down" && exit 0
+if [ "${NETWORKING}" = "no" ]; then
+       echo "WARNING: Networking is down. Squid service can't be runed."
+       exit 1
+fi
 
 # Sanity check
 [ -f /etc/squid/squid.conf ] || exit 0
This page took 0.074083 seconds and 4 git commands to generate.