remove fsck logging in updated

old-commit-hash: 238ac19ba975ffcdbe7b792b30a1409d219541da
This commit is contained in:
Adeeb Shihadeh
2020-12-14 10:51:03 -08:00
parent 605eecdd18
commit f359b4cf49
-5
View File
@@ -210,11 +210,6 @@ def finalize_update() -> None:
shutil.rmtree(FINALIZED)
shutil.copytree(OVERLAY_MERGED, FINALIZED, symlinks=True)
# Log git repo corruption
fsck = run(["git", "fsck", "--no-progress"], FINALIZED).rstrip()
if len(fsck):
cloudlog.error(f"found git corruption, git fsck:\n{fsck}")
set_consistent_flag(True)
cloudlog.info("done finalizing overlay")