aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/bridge.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-29 11:23:06 +0000
committerRoy Marples <roy@marples.name>2007-11-29 11:23:06 +0000
commit82df7e4584282896a0618f14cca2dd3f3d23e8a2 (patch)
tree05a0c01d32adbbb2df8d833b97918454a3178a04 /net.Linux/bridge.sh
parent50161bef0e27ca235d876b888ae5abcafbec2ac7 (diff)
Use shorthand for loops
Diffstat (limited to 'net.Linux/bridge.sh')
-rw-r--r--net.Linux/bridge.sh2
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