From e99e56ad18f3efd002773600a3a05551cc679093 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Nov 2007 21:11:24 +0000 Subject: [PATCH] Fix logic wrt exit_status_check and elog_process in doebuild(). svn path=/main/trunk/; revision=8710 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.26.2