diff options
| author | Pali Rohár <[email protected]> | 2021-09-24 23:06:47 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-10-01 11:07:13 +0200 |
| commit | d5ba8dbd75c1b3f45c341341a1259114d894c45f (patch) | |
| tree | 2c43e36645f16d0d116286c3f611740d639931a6 | |
| parent | 5a1f8cbe86ddc5802f661145926423d63f34e48a (diff) | |
tools: kwboot: Print newline on error when progress was not completed
When progress was not completed, current terminal position is in progress
bar. So print newline before printing error message to make error message
more readable.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
| -rw-r--r-- | tools/kwboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/kwboot.c b/tools/kwboot.c index eb4b3fe2305..0e533e36983 100644 --- a/tools/kwboot.c +++ b/tools/kwboot.c @@ -459,6 +459,7 @@ kwboot_xmodem(int tty, const void *_data, size_t size) rc = kwboot_tty_send_char(tty, EOT); out: + kwboot_printv("\n"); return rc; can: |
