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:
parent
acac001742
commit
0d143ed7f6
1 changed files with 2 additions and 0 deletions
|
@ -271,6 +271,8 @@ def main():
|
|||
|
||||
if rc == 0:
|
||||
process.run()
|
||||
else:
|
||||
process.shutdown()
|
||||
|
||||
sys.exit(rc)
|
||||
|
||||
|
|
Loading…
Reference in a new issue