summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 054dc8ca0..2a8956deb 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5533,7 +5533,7 @@ def _backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, sp
break
elif not allow_backtracking:
break
- elif backtracked > max_retries:
+ elif backtracked >= max_retries:
break
elif mydepgraph.need_restart():
backtracked += 1