---
func/minion/modules/snmp.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/func/minion/modules/snmp.py b/func/minion/modules/snmp.py
index c06655d..6ed0353 100644
--- a/func/minion/modules/snmp.py
+++ b/func/minion/modules/snmp.py
@@ -29,7 +29,7 @@ class Snmp(func_module.FuncModule):
"""
command = '%s -c %s %s %s' % (base_snmp_command, rocommunity,
hostname, oid)
- cmdref =
sub_process.Popen(command.split(),stdout=sub_process.PIPE,stderr=sub_process.PIPE,
shell=False)
+ cmdref =
sub_process.Popen(command.split(),stdout=sub_process.PIPE,stderr=sub_process.PIPE,
shell=False, close_fds=True)
data = cmdref.communicate()
return (cmdref.returncode, data[0], data[1])
--
1.5.6.5
_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list