From: Zac Medico Date: Sun, 18 Aug 2013 06:03:47 +0000 (-0700) Subject: _exec: close socket X-Git-Tag: v2.2.1~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1e256c85dfa3bd4e8b3564fb1391ca0f3d277a4;p=portage.git _exec: close socket --- diff --git a/pym/portage/process.py b/pym/portage/process.py index a7464c71d..6a60dec55 100644 --- a/pym/portage/process.py +++ b/pym/portage/process.py @@ -455,6 +455,7 @@ def _exec(binary, mycommand, opt_name, fd_pipes, env, gid, groups, uid, umask, writemsg("Unable to enable loopback interface: %s\n" % ( errno.errorcode.get(e.errno, '?')), noiselevel=-1) + sock.close() except AttributeError: # unshare() not supported by libc pass