diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-07-06 02:39:56 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-07-06 02:39:56 +0000 |
commit | d85f027779dd6a04f01cb86d0ed222819026cee1 (patch) | |
tree | d318a19369066dcb0eb61fa62515c7d40175c95b | |
parent | cba9050552ba6146c328711da524236b29a6ea0e (diff) | |
download | portage-d85f027779dd6a04f01cb86d0ed222819026cee1.tar.gz portage-d85f027779dd6a04f01cb86d0ed222819026cee1.tar.bz2 portage-d85f027779dd6a04f01cb86d0ed222819026cee1.zip |
Always exit unsuccessfully if there are any failures.
svn path=/main/trunk/; revision=13793
-rw-r--r-- | pym/_emerge/Scheduler.py | 4 |
1 files changed, 3 insertions, 1 deletions
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"]) |