From 2d7ca1499ca3a436d3d5b89408ce23eaa82c9cc1 Mon Sep 17 00:00:00 2001 From: Matthew Hicks Date: Tue, 17 Jun 2008 22:35:14 -0400 Subject: Closing file descriptors during the virt install to avoid leaking them --- func/minion/modules/virt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'func') 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: -- cgit