From dff45aabc01c5b20f6db2990e6a21ccbe1a02aed Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Nov 2007 21:12:26 +0000 Subject: [PATCH] Fix logic wrt exit_status_check and elog_process in doebuild(). (trunk r8710) svn path=/main/branches/2.1.2/; revision=8711 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index 9c748aa8b..121df9a75 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4502,7 +4502,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