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 11:19:14 +0100
commit2343075df4b18b5fbd35d2fe5f99f16e59478b3c (patch)
tree94a4f2ab4d0d73efb9d64a002aeda6a905f736f7 /sysconfig/network-scripts/ifdown-post
parent7fa374712f6da22f97bce84fff2e4cd535e9ef8d (diff)
downloadinitscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar
initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar.gz
initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar.bz2
initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar.xz
initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.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