Skip to content

Commit

Permalink
bootstrap.py: fix build-failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
kadiwa4 committed Feb 8, 2023
1 parent a00e24d commit 62edacf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@ def main():
)

exit_code = 0
success_word = "successfully"
try:
bootstrap(args)
except (SystemExit, KeyboardInterrupt) as error:
Expand All @@ -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)


Expand Down

0 comments on commit 62edacf

Please sign in to comment.