commands: Propgate command return value as exit code (#29223)

This commit is contained in:
Scott Wittenburg 2022-02-25 11:49:56 -07:00 committed by GitHub
parent d62b8f0bf3
commit b082c33c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -868,7 +868,7 @@ def _main(argv=None):
bootstrap_context = bootstrap.ensure_bootstrap_configuration()
with bootstrap_context:
finish_parse_and_run(parser, cmd_name, env_format_error)
return finish_parse_and_run(parser, cmd_name, env_format_error)
def finish_parse_and_run(parser, cmd_name, env_format_error):