diff options
author | Nathaniel Case <this.is@nathanielca.se> | 2018-09-20 15:04:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 15:04:30 -0400 |
commit | 0d143ed7f63f28fafaf6f2d6f46fa20bbb7e4fb7 (patch) | |
tree | 0cfd8a7a9f0e403db75fe41fae546e7569dadbb2 /bin | |
parent | acac001742a42786db0ef1b2130deef5ab8e8fce (diff) | |
download | ansible-0d143ed7f63f28fafaf6f2d6f46fa20bbb7e4fb7.zip |
Clean up after ansible-connection if failure occurred in start() (#45929)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ansible-connection | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ansible-connection b/bin/ansible-connection index 09656a5541..ac378a4d87 100755 --- a/bin/ansible-connection +++ b/bin/ansible-connection @@ -271,6 +271,8 @@ def main(): if rc == 0: process.run() + else: + process.shutdown() sys.exit(rc) |