Instead of special casing ftpd, uucpd and others that may have entries
authorokan <okan@openbsd.org>
Tue, 22 Apr 2014 12:36:36 +0000 (12:36 +0000)
committerokan <okan@openbsd.org>
Tue, 22 Apr 2014 12:36:36 +0000 (12:36 +0000)
commitc1663df07620c702288550d10fbc39561ddf30cd
treed21f6e3373bada22f4779662ce30f9c4bc55bba8
parent08625885fa23d3f7da2942711e681d3e63bddd33
Instead of special casing ftpd, uucpd and others that may have entries
in wtmp, go the other way and exclude entries we know ('console' and
'tty') from pid stripping, then strip the rest.

idea, feedback and ok millert@
usr.bin/last/last.c