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

arpwatch.init

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