summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/hardware.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/minion/modules/hardware.py')
-rw-r--r--func/minion/modules/hardware.py2
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")