mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-12-11 11:24:28 +03:00
correct broken exit codes from manage_clvm.py
(#15001)
<!-- Merging Requirements: - Please give your PR a title that is release-note friendly - In order to be merged, you must add the most appropriate category Label (Added, Changed, Fixed) to your PR --> <!-- Explain why this is an improvement (Does this add missing functionality, improve performance, or reduce complexity?) --> ### Purpose: <!-- Does this PR introduce a breaking change? --> ### Current Behavior: ### New Behavior: <!-- As we aim for complete code coverage, please include details regarding unit, and regression tests --> ### Testing Notes: <!-- Attach any visual examples, or supporting evidence (attach any .gif/video/console output below) -->
This commit is contained in:
commit
598da60cae
@ -296,7 +296,7 @@ def check(use_cache: bool) -> int:
|
||||
with cache_path.open(mode="w") as file:
|
||||
dump_cache(cache=cache, file=file)
|
||||
|
||||
return 1 if overall_fail else 0
|
||||
sys.exit(1 if overall_fail else 0)
|
||||
|
||||
|
||||
@main.command()
|
||||
@ -344,7 +344,7 @@ def build() -> int:
|
||||
if file_fail:
|
||||
overall_fail = True
|
||||
|
||||
return 1 if overall_fail else 0
|
||||
sys.exit(1 if overall_fail else 0)
|
||||
|
||||
|
||||
sys.exit(main(auto_envvar_prefix="CHIA_MANAGE_CLVM"))
|
||||
main(auto_envvar_prefix="CHIA_MANAGE_CLVM")
|
||||
|
Loading…
Reference in New Issue
Block a user