1
0
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:
Yu Watanabe 2019-02-10 03:49:12 +09:00
parent 959f65d32e
commit 85323805be

View File

@ -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")) {