summaryrefslogtreecommitdiff
path: root/bin/ansible-connection
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ansible-connection')
-rwxr-xr-xbin/ansible-connection2
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)