mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
logfile -> logpath
This commit is contained in:
parent
76486858e2
commit
9184100897
2
INSTALL
2
INSTALL
@ -146,7 +146,7 @@ Special features/options:
|
|||||||
Other platforms may require source code
|
Other platforms may require source code
|
||||||
and/or `configure' changes.
|
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.
|
log file and use "path" instead.
|
||||||
|
|
||||||
--with-timedir=path Override the default location of the sudo
|
--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 Where the log file goes, use /var/log if it exists, else /{var,usr}/adm
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(SUDO_LOGFILE, [AC_MSG_CHECKING(for log file location)
|
AC_DEFUN(SUDO_LOGFILE, [AC_MSG_CHECKING(for log file location)
|
||||||
if test -n "$with_logfile"; then
|
if test -n "$with_logpath"; then
|
||||||
AC_MSG_RESULT($with_logfile)
|
AC_MSG_RESULT($with_logpath)
|
||||||
AC_DEFINE_UNQUOTED(_PATH_SUDO_LOGFILE, "$with_logfile")
|
AC_DEFINE_UNQUOTED(_PATH_SUDO_LOGFILE, "$with_logpath")
|
||||||
elif test -d "/var/log"; then
|
elif test -d "/var/log"; then
|
||||||
AC_MSG_RESULT(/var/log/sudo.log)
|
AC_MSG_RESULT(/var/log/sudo.log)
|
||||||
AC_DEFINE(_PATH_SUDO_LOGFILE, "/var/log/sudo.log")
|
AC_DEFINE(_PATH_SUDO_LOGFILE, "/var/log/sudo.log")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user