From 05d7d8b6ee43103a589c8a999d5d96bdcd06f519 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(-) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index d0936366..fcbae80e 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