Don't exit if there are machines building.

Change-Id: I6528af16e68a2d73111398874e19756fbfc55df9
This commit is contained in:
James E. Blair
2011-12-23 10:28:23 -08:00
parent e8a04df459
commit bda1db4fc4

View File

@@ -56,7 +56,7 @@ print "%s ready, %s building, need to launch %s" % (len(ready_machines),
num_to_launch)
sys.stdout.flush()
if num_to_launch <= 0:
if num_to_launch <= 0 && len(building_machines) == 0:
sys.exit(0)
if CLOUD_SERVERS_DRIVER == 'rackspace':