diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-02-09 11:21:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-09 11:21:58 +0100 |
| commit | a3e152ca812bb7e9f67ccaf9ff71383e4b8e53ba (patch) | |
| tree | 3c77a75dca7473cd3f05381527decae5c66d9b1b | |
| parent | a62176988161bad4f4dc21f99e9c1f2a5060b0a7 (diff) | |
| parent | 62edacf738ca4bf9ad0e56874e460f00ca065103 (diff) | |
| download | rust-a3e152ca812bb7e9f67ccaf9ff71383e4b8e53ba.tar.gz rust-a3e152ca812bb7e9f67ccaf9ff71383e4b8e53ba.zip | |
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)
| -rw-r--r-- | src/bootstrap/bootstrap.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index c298817895c..45f238ef4bf 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -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) |
