1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

systemctl: fix copy/paste

on_circle is set twice to the same value

CID#1529418
This commit is contained in:
Luca Boccassi 2023-12-09 12:58:48 +00:00
parent 5572e9d82f
commit fc9d7ddbac

View File

@ -135,7 +135,6 @@ static int output_units_list(const UnitInfo *unit_infos, size_t c) {
if (streq(u->load_state, "not-found")) {
on_circle = on_loaded = ansi_highlight_yellow();
on_circle = ansi_highlight_yellow();
circle = true;
} else if (STR_IN_SET(u->load_state, "bad-setting", "error", "masked")) {
on_loaded = ansi_highlight_red();