From: Yu Watanabe Date: Sat, 14 Nov 2020 00:19:01 +0000 (+0900) Subject: systemctl: always show underline even if unit has no job ID X-Git-Tag: v247~65^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=810394481b73f932f9fabbc75aee14cc6cba12d2;p=thirdparty%2Fsystemd.git systemctl: always show underline even if unit has no job ID --- diff --git a/src/systemctl/systemctl-list-units.c b/src/systemctl/systemctl-list-units.c index 08019123963..ddef5def0ce 100644 --- a/src/systemctl/systemctl-list-units.c +++ b/src/systemctl/systemctl-list-units.c @@ -156,7 +156,7 @@ static int output_units_list(const UnitInfo *unit_infos, unsigned c) { TABLE_STRING, u->sub_state, TABLE_SET_BOTH_COLORS, on_active, TABLE_STRING, u->job_id ? u->job_type: "", - TABLE_SET_BOTH_COLORS, u->job_id ? on_underline : "", + TABLE_SET_BOTH_COLORS, on_underline, TABLE_STRING, u->description, TABLE_SET_BOTH_COLORS, on_underline); if (r < 0)