diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2019-04-01 17:57:43 +0200 |
---|---|---|
committer | Lukáš Nykrýn <lnykryn@redhat.com> | 2019-06-10 09:09:55 +0200 |
commit | 2145c10d1c2d8d934a2292fc6f630884c856dc01 (patch) | |
tree | c3f2624d8474ae8fa42badc2fb24f305c4440135 /etc | |
parent | 0330dd3457ecefbbca58eab8ed83f9ced56b0081 (diff) | |
download | initscripts-2145c10d1c2d8d934a2292fc6f630884c856dc01.tar initscripts-2145c10d1c2d8d934a2292fc6f630884c856dc01.tar.gz initscripts-2145c10d1c2d8d934a2292fc6f630884c856dc01.tar.bz2 initscripts-2145c10d1c2d8d934a2292fc6f630884c856dc01.tar.xz initscripts-2145c10d1c2d8d934a2292fc6f630884c856dc01.zip |
network: don't fail with IFDOWN_ON_SHUTDOWN
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/init.d/network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/init.d/network b/etc/rc.d/init.d/network index 2b874d17..e3560b64 100755 --- a/etc/rc.d/init.d/network +++ b/etc/rc.d/init.d/network @@ -198,8 +198,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 |