From: nekral-guest Date: Tue, 10 Jun 2008 22:10:21 +0000 (+0000) Subject: Add brackets. X-Git-Tag: 4.1.3~401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bb86709eed2938ded608dc148850592a3a9bbe2;p=shadow Add brackets. --- diff --git a/src/sulogin.c b/src/sulogin.c index 47720b3b..ef66a8d0 100644 --- a/src/sulogin.c +++ b/src/sulogin.c @@ -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");