mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-02 22:34:25 -04:00
repair: Fix off-by-one error in fancy output
Fixes https://github.com/flatpak/flatpak/issues/5204
(cherry picked from commit 8ca1604a94)
This commit is contained in:
committed by
Simon McVittie
parent
99329d0cf5
commit
6929db2cb7
@@ -415,7 +415,7 @@ flatpak_builtin_repair (int argc, char **argv, GCancellable *cancellable, GError
|
||||
|
||||
This does also mean that other areas of this code section that print errors will need to print a trailing
|
||||
newline as well, otherwise the output will overwrite any errors. */
|
||||
if (flatpak_fancy_output ())
|
||||
if (flatpak_fancy_output () && i != 1)
|
||||
g_print ("\033[A\r\033[K");
|
||||
|
||||
g_print (_("[%d/%d] Verifying %s…\n"), i, g_hash_table_size (all_refs), refspec);
|
||||
|
||||
Reference in New Issue
Block a user