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

View File

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