summaryrefslogtreecommitdiffstats
path: root/pym/portage_exec.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage_exec.py')
-rw-r--r--pym/portage_exec.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage_exec.py b/pym/portage_exec.py
index 0bf3e345f..7557ad724 100644
--- a/pym/portage_exec.py
+++ b/pym/portage_exec.py
@@ -200,6 +200,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False,
# propogate out of this function and cause exiting
# with anything other than os._exit()
sys.stderr.write("%s:\n %s\n" % (e, " ".join(mycommand)))
+ sys.stderr.flush()
os._exit(1)
# Add the pid to our local and the global pid lists.