summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-21 19:54:29 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-21 19:54:29 -0700
commitba3aa65497522f7110a7149ad3d861bd31adc4b0 (patch)
tree58564110109eb41530e4f9b2e1970891ce28b0ef
parent2be98bc1847c6616fbcc248721c75167fac48651 (diff)
downloadportage-ba3aa65497522f7110a7149ad3d861bd31adc4b0.tar.gz
portage-ba3aa65497522f7110a7149ad3d861bd31adc4b0.tar.bz2
portage-ba3aa65497522f7110a7149ad3d861bd31adc4b0.zip
In EbuildIpc._wait(), use waitpid() instead of wait() since we really
only need to wait on one process.
-rwxr-xr-xbin/ebuild-ipc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py
index 28352b56d..f8ec881c8 100755
--- a/bin/ebuild-ipc.py
+++ b/bin/ebuild-ipc.py
@@ -110,7 +110,7 @@ class EbuildIpc(object):
self._no_daemon_msg()
try:
os.kill(pid, signal.SIGKILL)
- os.wait()
+ os.waitpid(pid, 0)
except OSError as e:
portage.util.writemsg_level(
"ebuild-ipc: %s\n" % (e,),