Add brackets.

This commit is contained in:
nekral-guest 2008-06-10 22:10:21 +00:00
parent ce6dca81bc
commit 6bb86709ee

View File

@ -219,8 +219,9 @@ static RETSIGTYPE catch_signals (unused int sig)
STRFCPY (pass, cp);
strzero (cp);
}
if (valid (pass, &pwent)) /* check encrypted passwords ... */
if (valid (pass, &pwent)) { /* check encrypted passwords ... */
break; /* ... encrypted passwords matched */
}
#ifdef USE_SYSLOG
SYSLOG (LOG_WARN, "Incorrect root password\n");