aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index c9b03c85..4dea40ed 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -87,7 +87,7 @@ else
# may have been changed in the config file since the device was
# brought up. Flush all addresses associated with this
# instance instead.
- ip addr flush dev ${REALDEVICE} label ${DEVICE}
+ ip addr flush dev ${REALDEVICE} label ${DEVICE} 2>/dev/null
fi
if [ "${REALDEVICE}" = "${DEVICE}" ]; then