diff options
author | Bill Nottingham <notting@redhat.com> | 2011-10-13 14:14:47 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-10-13 14:14:47 -0400 |
commit | 05d7d8b6ee43103a589c8a999d5d96bdcd06f519 (patch) | |
tree | dc761c2004eef5e0b9d88ee9260301ef01558f9e /sysconfig/network-scripts | |
parent | 3494ff02745842e08895bfcebdc0d880986403bb (diff) | |
download | initscripts-05d7d8b6ee43103a589c8a999d5d96bdcd06f519.tar initscripts-05d7d8b6ee43103a589c8a999d5d96bdcd06f519.tar.gz initscripts-05d7d8b6ee43103a589c8a999d5d96bdcd06f519.tar.bz2 initscripts-05d7d8b6ee43103a589c8a999d5d96bdcd06f519.tar.xz initscripts-05d7d8b6ee43103a589c8a999d5d96bdcd06f519.zip |
Fix logic error with removing arp_ip_target (#745681)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-eth | 2 |
1 files changed, 1 insertions, 1 deletions
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; |