bootstrap.py: fix build-failure message

This commit is contained in:
KaDiWa 2023-02-08 19:19:23 +01:00
parent a00e24d76a
commit 62edacf738
No known key found for this signature in database
GPG Key ID: 0B52AE391C674CE5

View File

@ -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)