summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Scheduler.py4
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"])