1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Nathaniel Case 2018-09-20 15:04:30 -04:00 committed by GitHub
parent acac001742
commit 0d143ed7f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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