---
func/minion/modules/hardware.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/func/minion/modules/hardware.py b/func/minion/modules/hardware.py
index 5a72da4..8c0852f 100644
--- a/func/minion/modules/hardware.py
+++ b/func/minion/modules/hardware.py
@@ -36,7 +36,7 @@ class HardwareModule(func_module.FuncModule):
for easier parsing. Each device is a entry in the return hash.
"""
- cmd =
sub_process.Popen(["/usr/bin/lshal"],shell=False,stdout=sub_process.PIPE)
+ cmd =
sub_process.Popen(["/usr/bin/lshal"],shell=False,stdout=sub_process.PIPE,close_fds=True)
data = cmd.communicate()[0]
data = data.split("\n")
--
1.5.6.5
_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list