logfile -> logpath
This commit is contained in:
2
INSTALL
2
INSTALL
@@ -146,7 +146,7 @@ Special features/options:
|
||||
Other platforms may require source code
|
||||
and/or `configure' changes.
|
||||
|
||||
--with-logfile=path Override the default location of the sudo
|
||||
--with-logpath=path Override the default location of the sudo
|
||||
log file and use "path" instead.
|
||||
|
||||
--with-timedir=path Override the default location of the sudo
|
||||
|
6
aclocal.m4
vendored
6
aclocal.m4
vendored
@@ -112,9 +112,9 @@ dnl
|
||||
dnl Where the log file goes, use /var/log if it exists, else /{var,usr}/adm
|
||||
dnl
|
||||
AC_DEFUN(SUDO_LOGFILE, [AC_MSG_CHECKING(for log file location)
|
||||
if test -n "$with_logfile"; then
|
||||
AC_MSG_RESULT($with_logfile)
|
||||
AC_DEFINE_UNQUOTED(_PATH_SUDO_LOGFILE, "$with_logfile")
|
||||
if test -n "$with_logpath"; then
|
||||
AC_MSG_RESULT($with_logpath)
|
||||
AC_DEFINE_UNQUOTED(_PATH_SUDO_LOGFILE, "$with_logpath")
|
||||
elif test -d "/var/log"; then
|
||||
AC_MSG_RESULT(/var/log/sudo.log)
|
||||
AC_DEFINE(_PATH_SUDO_LOGFILE, "/var/log/sudo.log")
|
||||
|
Reference in New Issue
Block a user