fix loop
This commit is contained in:
parent
32d7df2214
commit
e0c6ce5523
@ -128,7 +128,7 @@ AppStore.prototype.deleteCloudron = function (box) {
|
||||
common. verifyResponse(res, 'Could not delete cloudron');
|
||||
|
||||
process.stdout.write('Waiting for Cloudron to disappear.');
|
||||
while (true) {
|
||||
for (var i = 0; i < 40; i++) {
|
||||
if (this.getCloudron(box.id) === null) break;
|
||||
|
||||
sleep(10);
|
||||
|
Loading…
Reference in New Issue
Block a user