diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-09 14:02:32 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-09 14:31:17 -0400 |
commit | 856323c9cb0ef368367126588d0b43b4846ab0d7 (patch) | |
tree | 98b353da2ca8046a2bf3b1cbce750920caa2f94b /src/login | |
parent | 31f7bf1994523f5b8fd014c69b97e09d7043d9ff (diff) |
systemctl: remove extra padding from status output
In 131601349 'systemctl: align all status fields to common column',
padding was calculated for 'ListenStream: ...', etc. Later on in
45a4f7233 'systemctl: tweak output of Listen: fields a bit' output
was changed to 'Listen: ... (stream)', but calculation didn't change.
Just remove the calculation, since now the result will be always 8,
and it it more important to have everything aligned to the widest
field ("Main-PID"), than to save a few columns, usually at most two
(e.g. "Listen").
Note: strlen is more natural, and is optimized to sizeof even
with -O0.
Diffstat (limited to 'src/login')
0 files changed, 0 insertions, 0 deletions