From: Stéphane Graber Date: Tue, 14 Mar 2017 12:44:35 +0000 (+0000) Subject: Fix mixed tab/spaces in previous patch X-Git-Tag: lxc-2.1.0~183^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1460%2Fhead;p=thirdparty%2Flxc.git Fix mixed tab/spaces in previous patch Signed-off-by: Stéphane Graber --- diff --git a/config/init/common/lxc-containers.in b/config/init/common/lxc-containers.in index ef5a80bc4..5becccdbc 100644 --- a/config/init/common/lxc-containers.in +++ b/config/init/common/lxc-containers.in @@ -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 }