diff options
-rw-r--r-- | pym/portage/__init__.py | 2 |
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. |