Clean up after ansible-connection if failure occurred in start() (#45929)
This commit is contained in:
@ -271,6 +271,8 @@ def main():
|
||||
|
||||
if rc == 0:
|
||||
process.run()
|
||||
else:
|
||||
process.shutdown()
|
||||
|
||||
sys.exit(rc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user