bootctl: use new red/green check/cross mark helpers at two places

This commit is contained in:
Lennart Poettering
2021-11-23 22:40:15 +01:00
parent 3131c24bd6
commit ae54abe7fe
2 changed files with 5 additions and 6 deletions
+2 -4
View File
@@ -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);
}