mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
systemctl: grey out tasks limit the same way we grey out the fd store limit in the output
"systemctl status systemd-logind" otherwise looks a bit weird, since the tasks and the fdstore lines are so close to each other but formatted quite differently when it comes to coloring.
This commit is contained in:
parent
70bb29db62
commit
54646b1ca9
@ -724,7 +724,7 @@ static void print_status_info(
|
||||
printf(" Tasks: %" PRIu64, i->tasks_current);
|
||||
|
||||
if (i->tasks_max != UINT64_MAX)
|
||||
printf(" (limit: %" PRIu64 ")\n", i->tasks_max);
|
||||
printf("%s (limit: %" PRIu64 ")%s\n", ansi_grey(), i->tasks_max, ansi_normal());
|
||||
else
|
||||
printf("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user