diff --git a/swh/vault/cookers/git_bare.py b/swh/vault/cookers/git_bare.py --- a/swh/vault/cookers/git_bare.py +++ b/swh/vault/cookers/git_bare.py @@ -142,10 +142,6 @@ stderr=subprocess.STDOUT, env={"LANG": "C.utf8"}, ) - if not self._expected_fsck_errors: - # All went well, there should not be any error - proc.check_returncode() - return # Split on newlines not followed by a space errors = re.split("\n(?! )", proc.stdout.decode())