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:
Justin England 2023-04-11 14:55:58 -06:00 committed by GitHub
commit 598da60cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")