]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Fix mixed tab/spaces in previous patch
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 14 Mar 2017 12:44:35 +0000 (12:44 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 14 Mar 2017 12:44:35 +0000 (12:44 +0000)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
config/init/common/lxc-containers.in

index ef5a80bc4a0825742292eb474e0a0f43640aecab..5becccdbccd6ff6dab6b84149908482901320f9c 100644 (file)
@@ -60,12 +60,12 @@ wait_for_bridge()
     fi
 
     for try in `seq 1 30`; do
-       for br in ${BRNAME}; do
-            [ -r /sys/class/net/${br}/flags ] || { sleep 1; continue 2; }
-            read flags < /sys/class/net/${br}/flags
-            [ $((flags & 0x1)) -eq 1 ] || { sleep 1; continue 2; }
-        done
-       return 0
+        for br in ${BRNAME}; do
+             [ -r /sys/class/net/${br}/flags ] || { sleep 1; continue 2; }
+             read flags < /sys/class/net/${br}/flags
+             [ $((flags & 0x1)) -eq 1 ] || { sleep 1; continue 2; }
+        done
+        return 0
     done
 }