diff options
author | James Cammarata <jimi@sngx.net> | 2014-05-07 08:09:46 -0500 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2014-05-07 08:26:06 -0500 |
commit | 7daaabdedb747e0ee0d44cb9750cc34c0ae6e547 (patch) | |
tree | b56782bda83c9b744d12038496d7f7075c9eeb15 /library | |
parent | 9943c5086365e69eba16ade5fb07f3a9c4e04953 (diff) | |
download | ansible-7daaabdedb747e0ee0d44cb9750cc34c0ae6e547.tar.gz |
Close fds when running commands from the accelerate daemon
Fixes #7307
Diffstat (limited to 'library')
-rw-r--r-- | library/utilities/accelerate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/utilities/accelerate b/library/utilities/accelerate index 5a8c96c64a..bd62471316 100644 --- a/library/utilities/accelerate +++ b/library/utilities/accelerate @@ -479,7 +479,7 @@ class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): if executable: use_unsafe_shell = True - rc, stdout, stderr = self.server.module.run_command(data['cmd'], executable=executable, use_unsafe_shell=use_unsafe_shell) + rc, stdout, stderr = self.server.module.run_command(data['cmd'], executable=executable, use_unsafe_shell=use_unsafe_shell, close_fds=True) if stdout is None: stdout = '' if stderr is None: |