]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslogins: use lastlog as wtmp fallback
authorSami Kerola <kerolasa@iki.fi>
Sun, 29 Mar 2020 19:40:48 +0000 (20:40 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 29 Mar 2020 20:18:48 +0000 (21:18 +0100)
commit3434ac972054ffb0315786df76c885949259926f
tree6169d440c8bd40799aee2a766c34d2f83b7171ff
parent370734a7ebd9288a4a670ce0add2cc0970de869b
lslogins: use lastlog as wtmp fallback

The wtmp file tends to rotate higher rate than lastlog, so use the later as
fallback in when wtmp tells nothing in LAST-LOGIN column.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
bash-completion/lslogins
login-utils/lslogins.1
login-utils/lslogins.c