Skip to content

Commit

Permalink
[fsck] Return earlier when errors are found in some changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed May 5, 2019
1 parent 9b6b642 commit 7f394a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cinnabar/cmd/fsck.py
Expand Up @@ -121,6 +121,9 @@ def fsck_quick():
continue
manifest_nodes.append(changeset.manifest)

if status('broken'):
return 1

# Rebuilding manifests benefits from limiting the difference with
# the last rebuilt manifest. Similarly, building the list of unique
# files in all manifests benefits from that too.
Expand Down

0 comments on commit 7f394a5

Please sign in to comment.