bootctl: highlight SecureBoot enabled state in green
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user