fix backwards logic (#7265)

This commit is contained in:
Brad Warren
2019-07-25 10:20:52 +02:00
committed by Adrien Ferrand
parent 391f301dd8
commit bf9c681c4f
+1 -1
View File
@@ -375,7 +375,7 @@ def cleanup(cl_args, instances, targetlist):
# If lengths of instances and targetlist aren't equal, instances failed to
# start before running tests so leaving instances running for debugging
# isn't very useful. Let's cleanup after ourselves instead.
if len(instances) == len(targetlist) or not cl_args.saveinstances:
if len(instances) != len(targetlist) or not cl_args.saveinstances:
print('Terminating EC2 Instances')
if cl_args.killboulder:
boulder_server.terminate()