Print spaces instead of '0' for a non-idle user. Looks nicer.

This commit is contained in:
sef 1993-04-12 19:40:01 +00:00
parent e17cdf070b
commit 15a4e0a939

View File

@ -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);