Clean up after ansible-connection if failure occurred in start() (#45929)

pull/45943/head
Nathaniel Case 6 years ago committed by GitHub
parent acac001742
commit 0d143ed7f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -271,6 +271,8 @@ def main():
if rc == 0: if rc == 0:
process.run() process.run()
else:
process.shutdown()
sys.exit(rc) sys.exit(rc)

Loading…
Cancel
Save