aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2017-01-17 18:08:33 +0100
committerDee'Kej <deekej@linuxmail.org>2017-01-18 12:54:19 +0100
commita8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9 (patch)
treef198bcd7c020e99c41d844f25412ba9b94e09515
parenta2d7e7e965b628b275d042da65eab9acd4e3194f (diff)
downloadinitscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar
initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar.gz
initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar.bz2
initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.tar.xz
initscripts-a8e6d7327e8e481fca3fb38dbe0e32ebc75c63d9.zip
ifup-aliases: we want to call the arping
It looks that during backport $() was replaced with "" Resolves: RHBZ#1413976
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 3af1ec88..2e21e6de 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -264,7 +264,7 @@ function new_interface ()
( grep -qswi "up" /sys/class/net/${parent_device}/operstate || grep -qswi "1" /sys/class/net/${parent_device}/carrier ) ; then
echo $"Determining if ip address ${IPADDR} is already in use for device ${parent_device}..."
- ARPING="/sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR}"
+ ARPING=$(/sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR})
if [ $? = 1 ]; then
ARPINGMAC=$(echo $ARPING | sed -ne 's/.*\[\(.*\)\].*/\1/p')