diff options
author | Matthew Hicks <mhicks@mhicks-host.usersys.redhat.com> | 2008-06-17 22:35:14 -0400 |
---|---|---|
committer | Matt Hicks <mhicks@localhost.localdomain> | 2008-07-07 16:54:50 -0400 |
commit | c3ff129b248c4aa2f641f1d032e5934196f55b62 (patch) | |
tree | cc9374dba7c48dbc026f40195f06010d3900f3eb | |
parent | f7a245e0e8adc329c7fa80e53064e369028dd790 (diff) | |
download | func-c3ff129b248c4aa2f641f1d032e5934196f55b62.tar.gz func-c3ff129b248c4aa2f641f1d032e5934196f55b62.tar.xz func-c3ff129b248c4aa2f641f1d032e5934196f55b62.zip |
Closing file descriptors during the virt install to avoid leaking them
-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: |