summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-27 21:11:24 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-27 21:11:24 +0000
commite99e56ad18f3efd002773600a3a05551cc679093 (patch)
tree3202fd6d205cd68e4f7ab1d1b166fd158b13294a
parentbd47e6ce877982222a7c3f624e2bffd471719cc3 (diff)
downloadportage-e99e56ad18f3efd002773600a3a05551cc679093.tar.gz
portage-e99e56ad18f3efd002773600a3a05551cc679093.tar.bz2
portage-e99e56ad18f3efd002773600a3a05551cc679093.zip
Fix logic wrt exit_status_check and elog_process in doebuild().
svn path=/main/trunk/; revision=8710
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index b6b0e0c0e..d3f87ae40 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -4539,7 +4539,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
alwaysdep=1, logfile=logfile)
if retval == os.EX_OK:
retval = exit_status_check(retval)
- else:
+ if retval != os.EX_OK:
# The merge phase handles this already. Callers don't know how
# far this function got, so we have to call elog_process() here
# so that it's only called once.