mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
systemctl: always show underline even if unit has no job ID
This commit is contained in:
parent
e2357b1c8a
commit
810394481b
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue