mirror of
https://github.com/systemd/systemd.git
synced 2025-03-21 02:50:18 +03:00
journalctl: don't output ANSI sequences if disabled
This commit is contained in:
parent
042f472eaa
commit
af1060e1ab
@ -46,7 +46,7 @@ static void draw_progress(uint64_t p, usec_t *last_usec) {
|
||||
for (i = 0; i < j; i++)
|
||||
fputs("\xe2\x96\x88", stdout);
|
||||
|
||||
fputs(ANSI_NORMAL, stdout);
|
||||
fputs(ansi_normal(), stdout);
|
||||
|
||||
for (i = 0; i < k; i++)
|
||||
fputs("\xe2\x96\x91", stdout);
|
||||
|
Loading…
x
Reference in New Issue
Block a user