summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/SubProcess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/SubProcess.py b/pym/_emerge/SubProcess.py
index b2b19d54d..ef1346a63 100644
--- a/pym/_emerge/SubProcess.py
+++ b/pym/_emerge/SubProcess.py
@@ -38,6 +38,7 @@ class SubProcess(AbstractPollTask):
if retval[0] == 0:
return None
self._set_returncode(retval)
+ self.wait()
return self.returncode
def cancel(self):