Skip to content

fix(rpm): propagate main() return code as process exit code#1024

Open
wade-arista wants to merge 1 commit intobazelbuild:mainfrom
wade-arista:main
Open

fix(rpm): propagate main() return code as process exit code#1024
wade-arista wants to merge 1 commit intobazelbuild:mainfrom
wade-arista:main

Conversation

@wade-arista
Copy link
Contributor

Wrap the main() call with sys.exit() so that non-zero return values from main() are properly reflected in the process exit code.

Fixes #1023

Wrap the main() call with sys.exit() so that non-zero return values
from main() are properly reflected in the process exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rpm: make_rpm.py fails with exit code = 0 when rpmbuild fails

1 participant