mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:54:56 +02:00
fix backwards logic (#7265)
This commit is contained in:
committed by
Adrien Ferrand
parent
391f301dd8
commit
bf9c681c4f
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user