Skip to content

Commit 7610694

Browse files
author
frank
committed
Bug 12194 - Ubuntu init script can fall into infinite loop
Bug 11723 - (Ubuntu Install) Management Server service won't restart patch from community status 11723: resolved fixed
1 parent 55175fb commit 7610694

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

agent/distro/ubuntu/SYSCONFDIR/init.d/cloud-agent.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ wait_for_network() {
3737
if ip addr show cloudbr0 |grep -w inet > /dev/null 2>&1; then
3838
break
3939
else
40+
sleep 1
41+
let i=$i+1
4042
continue
4143
fi
42-
sleep 1
43-
let i=$i+1
4444
done
4545
}
4646

0 commit comments

Comments
 (0)