From 8b9704ab4d4854595d6876bdfdfd1bbe835fbb88 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Wed, 30 Oct 2019 08:34:53 +0100 Subject: network: don't fail with IFDOWN_ON_SHUTDOWN Resolve rhbz#1738578 --- etc/rc.d/init.d/network | 4 ++-- 1 file 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 -- cgit v1.2.1