aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-11-26 12:10:20 -0500
committerBill Nottingham <notting@redhat.com>2008-11-26 12:10:20 -0500
commitf7ccedaa791b03bcc8a9601119dc6bea27dc6eae (patch)
treef94a20e5208a4d3539348c2ed659d121e6ea4453 /rc.d/init.d/network
parentbe794e2b6d7b972d6af02178c646c90d588a72cc (diff)
downloadinitscripts-f7ccedaa791b03bcc8a9601119dc6bea27dc6eae.tar
initscripts-f7ccedaa791b03bcc8a9601119dc6bea27dc6eae.tar.gz
initscripts-f7ccedaa791b03bcc8a9601119dc6bea27dc6eae.tar.bz2
initscripts-f7ccedaa791b03bcc8a9601119dc6bea27dc6eae.tar.xz
initscripts-f7ccedaa791b03bcc8a9601119dc6bea27dc6eae.zip
Tweak return codes (#242912)
We'll see what breaks.
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 94fcc628..543af4c5 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -17,7 +17,7 @@
. /etc/init.d/functions
if [ ! -f /etc/sysconfig/network ]; then
- exit 0
+ exit 6
fi
. /etc/sysconfig/network
@@ -28,7 +28,7 @@ fi
# Check that networking is up.
-[ "${NETWORKING}" = "no" ] && exit 0
+[ "${NETWORKING}" = "no" ] && exit 6
# if the ip configuration utility isn't around we can't function.
[ -x /sbin/ip ] || exit 1