Stop lastlog detection setting DISABLE_LASTLOG - this flag means

'never even try to get the last login time', whereas we want to try to
use wtmp/wtmpx unless told otherwise. See loginrec.c:getlast_entry().
This commit is contained in:
andre 2000-06-12 23:27:31 +00:00
parent 35ad6bee4b
commit 45cad51c70
1 changed files with 2 additions and 2 deletions

View File

@ -1010,8 +1010,8 @@ if test -z "$conf_lastlog_location"; then
fi
done
if test -z "$conf_lastlog_location"; then
AC_MSG_WARN([** Cannot find lastlog - disabling feature **])
AC_DEFINE(DISABLE_LASTLOG)
AC_MSG_WARN([** Cannot find lastlog **])
dnl Don't define DISABLE_LASTLOG - that means we don't try wtmp/wtmpx
fi
fi
fi