From: Zac Medico Date: Mon, 6 Jul 2009 02:39:56 +0000 (-0000) Subject: Always exit unsuccessfully if there are any failures. X-Git-Tag: v2.2_rc34~69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d85f027779dd6a04f01cb86d0ed222819026cee1;p=portage.git Always exit unsuccessfully if there are any failures. svn path=/main/trunk/; revision=13793 --- diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 1ae85728a..dd1c64e45 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -924,7 +924,9 @@ class Scheduler(PollScheduler): noiselevel=-1) writemsg(prefix + "\n", noiselevel=-1) - return rval + if self._failed_pkgs_all: + return 1 + return os.EX_OK def _elog_listener(self, mysettings, key, logentries, fulltext): errors = portage.elog.filter_loglevels(logentries, ["ERROR"])