aboutsummaryrefslogtreecommitdiffstats
path: root/etc/rc.d/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/init.d/network')
-rwxr-xr-xetc/rc.d/init.d/network4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/init.d/network b/etc/rc.d/init.d/network
index 581fd018..45632cc9 100755
--- a/etc/rc.d/init.d/network
+++ b/etc/rc.d/init.d/network
@@ -180,8 +180,8 @@ stop)
# as such in sysconfig
if is_false "$IFDOWN_ON_SHUTDOWN"; then
if systemctl is-system-running | grep -q 'stopping'; then
- net_log $"system is shutting down, leaving interfaces up as requested"
- exit 1
+ net_log $"system is shutting down, leaving interfaces up as requested" info
+ exit 0
fi
fi