aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-09-26 19:02:15 +0000
committerBill Nottingham <notting@redhat.com>2001-09-26 19:02:15 +0000
commit35b744c27dd1387f2eb5f3a357fcc2dfa047dc14 (patch)
treea3eb06a4c753959da7c440cc36263944f62dcb11 /sysconfig/network-scripts/ifdown
parentc89de09bb5ac6e9f382bd919bc92a0381374da47 (diff)
downloadinitscripts-35b744c27dd1387f2eb5f3a357fcc2dfa047dc14.tar
initscripts-35b744c27dd1387f2eb5f3a357fcc2dfa047dc14.tar.gz
initscripts-35b744c27dd1387f2eb5f3a357fcc2dfa047dc14.tar.bz2
initscripts-35b744c27dd1387f2eb5f3a357fcc2dfa047dc14.tar.xz
initscripts-35b744c27dd1387f2eb5f3a357fcc2dfa047dc14.zip
throw away stderr
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-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