From 9f94defd6636abe5d3c951dccaf73e6cfe7ce6af Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 13 Oct 2011 14:14:47 -0400 Subject: Fix logic error with removing arp_ip_target (#745681) --- sysconfig/network-scripts/ifdown-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index 20b8b00b..19105f34 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -59,7 +59,7 @@ if is_bonding_device ${DEVICE} ; then done for arg in $BONDING_OPTS ; do key=${arg%%=*}; - [[ "${key}" != "arp_ip_target" ]] || continue + [[ "${key}" != "arp_ip_target" ]] && continue value=${arg##*=}; if [ "${value:0:1}" != "" ]; then OLDIFS=$IFS; -- cgit v1.2.1