From af1060e1abf9eb958444bde2b06aa3279e1c81cb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 10 May 2019 14:58:23 -0400 Subject: [PATCH] journalctl: don't output ANSI sequences if disabled --- src/journal/journal-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c index 0a06ce7..344b7b0 100644 --- a/src/journal/journal-verify.c +++ b/src/journal/journal-verify.c @@ -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); -- 2.7.4