commands: Propgate command return value as exit code (#29223)
This commit is contained in:
parent
d62b8f0bf3
commit
b082c33c85
@ -868,7 +868,7 @@ def _main(argv=None):
|
|||||||
bootstrap_context = bootstrap.ensure_bootstrap_configuration()
|
bootstrap_context = bootstrap.ensure_bootstrap_configuration()
|
||||||
|
|
||||||
with bootstrap_context:
|
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):
|
def finish_parse_and_run(parser, cmd_name, env_format_error):
|
||||||
|
Loading…
Reference in New Issue
Block a user