diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index eabe16aa..d4432ce8 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -394,7 +394,7 @@ later is required to fix a server side protocol bug. | |||
394 | t.join() | 394 | t.join() |
395 | 395 | ||
396 | # If we saw an error, exit with code 1 so that other scripts can check. | 396 | # If we saw an error, exit with code 1 so that other scripts can check. |
397 | if err_event.isSet(): | 397 | if err_event.isSet() and not opt.force_broken: |
398 | print('\nerror: Exited sync due to fetch errors', file=sys.stderr) | 398 | print('\nerror: Exited sync due to fetch errors', file=sys.stderr) |
399 | sys.exit(1) | 399 | sys.exit(1) |
400 | 400 | ||