systemctl: fix minor coding style issue

This commit is contained in:
Yu Watanabe 2020-11-14 09:06:35 +09:00
parent ca7b9e1e0a
commit 5ba97fc0a9
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ static int output_units_list(const UnitInfo *unit_infos, unsigned c) {
"LOAD = Reflects whether the unit definition was properly loaded.\n"
"ACTIVE = The high-level unit activation state, i.e. generalization of SUB.\n"
"SUB = The low-level unit activation state, values depend on unit type.");
puts(job_count ? "JOB = Pending job for the unit.\n" : "");
if (job_count > 0)
puts("JOB = Pending job for the unit.\n");
on = ansi_highlight();
off = ansi_normal();
} else {