Add brackets.
This commit is contained in:
parent
ce6dca81bc
commit
6bb86709ee
@ -219,8 +219,9 @@ static RETSIGTYPE catch_signals (unused int sig)
|
|||||||
STRFCPY (pass, cp);
|
STRFCPY (pass, cp);
|
||||||
strzero (cp);
|
strzero (cp);
|
||||||
}
|
}
|
||||||
if (valid (pass, &pwent)) /* check encrypted passwords ... */
|
if (valid (pass, &pwent)) { /* check encrypted passwords ... */
|
||||||
break; /* ... encrypted passwords matched */
|
break; /* ... encrypted passwords matched */
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef USE_SYSLOG
|
#ifdef USE_SYSLOG
|
||||||
SYSLOG (LOG_WARN, "Incorrect root password\n");
|
SYSLOG (LOG_WARN, "Incorrect root password\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user