From a454c97d378c63e7e5586a23dd641c1a69c591a7 Mon Sep 17 00:00:00 2001 From: kloczek Date: Thu, 5 Aug 1999 20:53:33 +0000 Subject: [PATCH] - fix in checking is netforking is up. Changed files: arpwatch.init -> 1.4 --- arpwatch.init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arpwatch.init b/arpwatch.init index beffad9..c2cafb6 100644 --- a/arpwatch.init +++ b/arpwatch.init @@ -16,7 +16,10 @@ [ -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. -- 2.44.0