* src/su.c: Use a boolean instead of 0.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2009-05-21 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/su.c: Use a boolean instead of 0.
|
||||||
|
|
||||||
2009-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
2009-05-20 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* man/usermod.8.xml: Fixed typos.
|
* man/usermod.8.xml: Fixed typos.
|
||||||
|
2
src/su.c
2
src/su.c
@ -161,7 +161,7 @@ static bool restricted_shell (const char *shellstr)
|
|||||||
|
|
||||||
static void su_failure (const char *tty)
|
static void su_failure (const char *tty)
|
||||||
{
|
{
|
||||||
sulog (tty, 0, oldname, name); /* log failed attempt */
|
sulog (tty, false, oldname, name); /* log failed attempt */
|
||||||
#ifdef USE_SYSLOG
|
#ifdef USE_SYSLOG
|
||||||
if (getdef_bool ("SYSLOG_SU_ENAB")) {
|
if (getdef_bool ("SYSLOG_SU_ENAB")) {
|
||||||
SYSLOG (((0 != pwent.pw_uid) ? LOG_INFO : LOG_NOTICE,
|
SYSLOG (((0 != pwent.pw_uid) ? LOG_INFO : LOG_NOTICE,
|
||||||
|
Reference in New Issue
Block a user