Skip to content

Commit

Permalink
Fix mixed tab/spaces in previous patch
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
stgraber committed Mar 20, 2017
1 parent 215fff9 commit 0391995
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/init/common/lxc-containers.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0391995

Please sign in to comment.