summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorMatthew Hicks <mhicks@mhicks-host.usersys.redhat.com>2008-06-17 22:35:14 -0400
committerMatthew Hicks <mhicks@mhicks-host.usersys.redhat.com>2008-07-15 17:35:48 -0400
commit2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1 (patch)
tree522cf2c732546c7754c5c6a6d3d5e5a795acbd5e /func
parent43932658350c5d7499476308b2898122655425fa (diff)
downloadthird_party-func-2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1.tar.gz
third_party-func-2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1.tar.xz
third_party-func-2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1.zip
Closing file descriptors during the virt install to avoid leaking them
Diffstat (limited to 'func')
-rw-r--r--func/minion/modules/virt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/minion/modules/virt.py b/func/minion/modules/virt.py
index 40ae274..c4b718a 100644
--- a/func/minion/modules/virt.py
+++ b/func/minion/modules/virt.py
@@ -236,7 +236,7 @@ class Virt(func_module.FuncModule):
if virt_path:
koan_args.append("--virt-path=%s" % virt_path)
- rc = sub_process.call(koan_args,shell=False)
+ rc = sub_process.call(koan_args,shell=False,close_fds=True)
if rc == 0:
return 0
else: