From: Luca Boccassi Date: Sat, 9 Dec 2023 12:58:48 +0000 (+0000) Subject: systemctl: fix copy/paste X-Git-Tag: v256-rc1~1541^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9d7ddbacea48a70981231a5040307438a699c2;p=thirdparty%2Fsystemd.git systemctl: fix copy/paste on_circle is set twice to the same value CID#1529418 --- diff --git a/src/systemctl/systemctl-list-units.c b/src/systemctl/systemctl-list-units.c index a1482d40c22..184468ed618 100644 --- a/src/systemctl/systemctl-list-units.c +++ b/src/systemctl/systemctl-list-units.c @@ -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();