mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
networkctl: make enslaved operstate green
This commit is contained in:
parent
959f65d32e
commit
85323805be
@ -65,7 +65,7 @@ static void operational_state_to_color(const char *state, const char **on, const
|
||||
assert(on);
|
||||
assert(off);
|
||||
|
||||
if (streq_ptr(state, "routable")) {
|
||||
if (STRPTR_IN_SET(state, "routable", "enslaved")) {
|
||||
*on = ansi_highlight_green();
|
||||
*off = ansi_normal();
|
||||
} else if (streq_ptr(state, "degraded")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user