Print spaces instead of '0' for a non-idle user. Looks nicer.
This commit is contained in:
parent
e17cdf070b
commit
15a4e0a939
@ -322,6 +322,8 @@ main(argc, argv)
|
||||
attime(&ep->utmp.ut_time));
|
||||
if (ep->idle >= 36 * 60)
|
||||
printf(" %ddays ", (ep->idle + 12 * 60) / (24 * 60));
|
||||
else if (ep->idle == 0)
|
||||
printf(" ");
|
||||
else
|
||||
prttime(ep->idle, " ");
|
||||
printf("%.*s\n", argwidth, ep->args);
|
||||
|
Loading…
Reference in New Issue
Block a user