From: Karel Zak Date: Wed, 2 Mar 2022 09:42:11 +0000 (+0100) Subject: last: add note about empty files/entries to the man page X-Git-Tag: v2.38-rc2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5644f71d8353a353b5d8d1ad4511ce2a1a17a622;p=thirdparty%2Futil-linux.git last: add note about empty files/entries to the man page Fixes: https://github.com/util-linux/util-linux/issues/1609 Signed-off-by: Karel Zak --- diff --git a/login-utils/last.1.adoc b/login-utils/last.1.adoc index 6c7017cdd2..1157ae9571 100644 --- a/login-utils/last.1.adoc +++ b/login-utils/last.1.adoc @@ -115,6 +115,8 @@ _/var/log/btmp_ The files _wtmp_ and _btmp_ might not be found. The system only logs information in these files if they are present. This is a local configuration issue. If you want the files to be used, they can be created with a simple *touch*(1) command (for example, *touch /var/log/wtmp*). +An empty entry is a valid type of wtmp entry. It means that an empty file or file with zeros is not interpreted as an error. + == AUTHORS mailto:miquels@cistron.nl[Miquel van Smoorenburg]