systemctl: Fix frozen state coloring
When unit is in an unhighlighted state, freezer coloring won't be turned off (active_off is empty) until the end of the TTY output.
This commit is contained in:
parent
d31dda5e95
commit
38fee61952
|
@ -4192,7 +4192,7 @@ static void print_status_info(
|
|||
|
||||
fs = !isempty(i->freezer_state) && !streq(i->freezer_state, "running") ? i->freezer_state : NULL;
|
||||
if (fs)
|
||||
printf(" %s(%s)%s", ansi_highlight_yellow(), fs, active_off);
|
||||
printf(" %s(%s)%s", ansi_highlight_yellow(), fs, ansi_normal());
|
||||
|
||||
if (!isempty(i->result) && !streq(i->result, "success"))
|
||||
printf(" (Result: %s)", i->result);
|
||||
|
|
Loading…
Reference in New Issue