Fix mixed tab/spaces in previous patch

parent 215fff92
...@@ -60,12 +60,12 @@ wait_for_bridge() ...@@ -60,12 +60,12 @@ wait_for_bridge()
fi fi
for try in `seq 1 30`; do for try in `seq 1 30`; do
for br in ${BRNAME}; do for br in ${BRNAME}; do
[ -r /sys/class/net/${br}/flags ] || { sleep 1; continue 2; } [ -r /sys/class/net/${br}/flags ] || { sleep 1; continue 2; }
read flags < /sys/class/net/${br}/flags read flags < /sys/class/net/${br}/flags
[ $((flags & 0x1)) -eq 1 ] || { sleep 1; continue 2; } [ $((flags & 0x1)) -eq 1 ] || { sleep 1; continue 2; }
done done
return 0 return 0
done done
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment