Rollup merge of #107808 - kadiwa4:built-unsuccessfully, r=albertlarsan68

bootstrap.py: fix build-failure message

A small mistake I did.
Corrects #107470, fixes #107804

r? `@albertlarsan68` (since you reviewed the last one)
This commit is contained in:
Matthias Krüger 2023-02-09 11:21:58 +01:00 committed by GitHub
commit a3e152ca81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -937,6 +937,7 @@ def main():
)
exit_code = 0
success_word = "successfully"
try:
bootstrap(args)
except (SystemExit, KeyboardInterrupt) as error:
@ -945,9 +946,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)