aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-11-08 17:25:24 +0100
committerDee'Kej <deekej@linuxmail.org>2017-11-09 14:58:51 +0100
commitcfa035c7c3aeacea60d4e12bebde7ce8e1ecc54b (patch)
tree1711a88f025e8595924d2bb89f0a3ab33ab6dd23 /sysconfig/network-scripts/ifdown-post
parent803b658e5c921dcebd10ff8bbefb1d969a6aa2b6 (diff)
downloadinitscripts-cfa035c7c3aeacea60d4e12bebde7ce8e1ecc54b.tar
initscripts-cfa035c7c3aeacea60d4e12bebde7ce8e1ecc54b.tar.gz
initscripts-cfa035c7c3aeacea60d4e12bebde7ce8e1ecc54b.tar.bz2
initscripts-cfa035c7c3aeacea60d4e12bebde7ce8e1ecc54b.tar.xz
initscripts-cfa035c7c3aeacea60d4e12bebde7ce8e1ecc54b.zip
network-functions: use POSIX forwarding instead of bash-ism
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post
index 229c9877..afafc0d5 100755
--- a/sysconfig/network-scripts/ifdown-post
+++ b/sysconfig/network-scripts/ifdown-post
@@ -59,7 +59,7 @@ if [ "${REALDEVICE}" != "lo" ]; then
/org/fedoraproject/FirewallD1 \
org.fedoraproject.FirewallD1.zone.removeInterface \
string: "" string:"${DEVICE}" \
- &> /dev/null
+ > /dev/null 2>&1
fi
# Notify programs that have requested notification