bootstrap.py: fix build-failure message
This commit is contained in:
parent
a00e24d76a
commit
62edacf738
@ -935,6 +935,7 @@ def main():
|
||||
)
|
||||
|
||||
exit_code = 0
|
||||
success_word = "successfully"
|
||||
try:
|
||||
bootstrap(args)
|
||||
except (SystemExit, KeyboardInterrupt) as error:
|
||||
@ -943,9 +944,10 @@ def main():
|
||||
else:
|
||||
exit_code = 1
|
||||
print(error)
|
||||
success_word = "unsuccessfully"
|
||||
|
||||
if not help_triggered:
|
||||
print("Build completed successfully in", format_build_time(time() - start_time))
|
||||
print("Build completed", success_word, "in", format_build_time(time() - start_time))
|
||||
sys.exit(exit_code)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user