--- func/minion/modules/smart.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/func/minion/modules/smart.py b/func/minion/modules/smart.py index e8e4844..26e7091 100644 --- a/func/minion/modules/smart.py +++ b/func/minion/modules/smart.py @@ -36,7 +36,7 @@ class SmartModule(func_module.FuncModule): flags.replace(";","") # prevent stupidity - cmd = sub_process.Popen("/usr/sbin/smartd %s" % flags,stdout=sub_process.PIPE,shell=True) + cmd = sub_process.Popen("/usr/sbin/smartd %s" % flags,stdout=sub_process.PIPE,shell=True,close_fds=True) data = cmd.communicate()[0] results = [] -- 1.5.6.5 _______________________________________________ Func-list mailing list Func-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/func-list