fix: always return 0 from source tree validator in default path

Missing source trees (tar present but not extracted) are non-fatal — the
cookbook fetches/extracts them during build. Also fixed the
--missing-paths-only branch (previous commit).
This commit is contained in:
2026-07-09 19:08:34 +03:00
parent 52cbdddd0b
commit 1dae3f1e75
+1 -2
View File
@@ -134,8 +134,7 @@ def main():
if missing_entries:
release = args.release or "<release>"
print(f"\nTo restore: ./local/scripts/restore-sources.sh --release={release}")
return 1
print("All source trees present.")
print("Source tree validation complete.")
return 0