diff options
author | Matthew Hicks <mhicks@mhicks-host.usersys.redhat.com> | 2008-06-17 22:35:14 -0400 |
---|---|---|
committer | Matthew Hicks <mhicks@mhicks-host.usersys.redhat.com> | 2008-07-15 17:35:48 -0400 |
commit | 2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1 (patch) | |
tree | 522cf2c732546c7754c5c6a6d3d5e5a795acbd5e /func/minion | |
parent | 43932658350c5d7499476308b2898122655425fa (diff) | |
download | func-2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1.tar.gz func-2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1.tar.xz func-2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1.zip |
Closing file descriptors during the virt install to avoid leaking them
Diffstat (limited to 'func/minion')
-rw-r--r-- | func/minion/modules/virt.py | 2 |
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: |