bootctl: highlight SecureBoot enabled state in green

This commit is contained in:
Lennart Poettering
2023-09-28 12:07:15 +02:00
parent a730a8f608
commit 4ed9e2619c
2 changed files with 13 additions and 3 deletions
+4
View File
@@ -68,6 +68,10 @@ static inline const char* enable_disable(bool b) {
return b ? "enable" : "disable";
}
static inline const char* enabled_disabled(bool b) {
return b ? "enabled" : "disabled";
}
/* This macro's return pointer will have the "const" qualifier set or unset the same way as the input
* pointer. */
#define empty_to_null(p) \