diff options
author | Roy Marples <roy@marples.name> | 2007-11-29 11:23:06 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-29 11:23:06 +0000 |
commit | 82df7e4584282896a0618f14cca2dd3f3d23e8a2 (patch) | |
tree | 05a0c01d32adbbb2df8d833b97918454a3178a04 /net.Linux/bridge.sh | |
parent | 50161bef0e27ca235d876b888ae5abcafbec2ac7 (diff) |
Use shorthand for loops
Diffstat (limited to 'net.Linux/bridge.sh')
-rw-r--r-- | net.Linux/bridge.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/bridge.sh b/net.Linux/bridge.sh index 6c3019bc..12c77768 100644 --- a/net.Linux/bridge.sh +++ b/net.Linux/bridge.sh @@ -112,7 +112,7 @@ bridge_post_stop() { # Work out if we're added to a bridge for removal or not eval set -- $(brctl show 2>/dev/null | sed -e "s/'/'\\\\''/g" -e "s/$/'/g" -e "s/^/'/g") local line= - for line in "$@"; do + for line; do set -- ${line} if [ "$3" = "${IFACE}" ]; then iface=$1 |