summaryrefslogtreecommitdiff
path: root/src/boot/bootctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-11-23 14:08:01 +0100
committerLennart Poettering <lennart@poettering.net>2021-11-23 22:40:15 +0100
commitae54abe7fe239f1606a4becc2a41f2d7530371a2 (patch)
tree8ebbba033f16dcecc63a669ce5b69e489bbe9403 /src/boot/bootctl.c
parent3131c24bd61ee25a63494594e1cfb02ae5382e58 (diff)
downloadsystemd-ae54abe7fe239f1606a4becc2a41f2d7530371a2.tar.gz
bootctl: use new red/green check/cross mark helpers at two places
Diffstat (limited to 'src/boot/bootctl.c')
-rw-r--r--src/boot/bootctl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index c19a51de62..07ad949a0c 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -1240,11 +1240,9 @@ static void read_efi_var(const char *variable, char **ret) {
}
static void print_yes_no_line(bool first, bool good, const char *name) {
- printf("%s%s%s%s %s\n",
+ printf("%s%s %s\n",
first ? " Features: " : " ",
- ansi_highlight_green_red(good),
- special_glyph_check_mark(good),
- ansi_normal(),
+ COLOR_MARK_BOOL(good),
name);
}