Skip to content

Commit

Permalink
Clean up after ansible-connection if failure occurred in start() (#45929
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Qalthos committed Sep 20, 2018
1 parent acac001 commit 0d143ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/ansible-connection
Expand Up @@ -271,6 +271,8 @@ def main():

if rc == 0:
process.run()
else:
process.shutdown()

sys.exit(rc)

Expand Down

0 comments on commit 0d143ed

Please sign in to comment.