summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 2f0c0756a..67663e686 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2119,7 +2119,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
effective_maxretries = maxretries
if effective_maxretries < 0:
- effective_maxretries = len(ips)
+ effective_maxretries = len(ips) - 1
SERVER_OUT_OF_DATE = -1
EXCEEDED_MAX_RETRIES = -2