mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Fix a really dumb bug (missing curly braces around the body of an if
statement) that caused pam_sm_chauthtok() to always fail silently.
This commit is contained in:
parent
4596ce3d47
commit
c8c20c5226
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95477
|
@ -352,9 +352,10 @@ pam_sm_chauthtok(pam_handle_t *pamh, int flags,
|
|||
pam_error(pamh, "Mismatch; try again, EOF to quit.");
|
||||
}
|
||||
PAM_LOG("Got new password");
|
||||
if (retval != PAM_SUCCESS)
|
||||
if (retval != PAM_SUCCESS) {
|
||||
PAM_VERBOSE_ERROR("Unable to get new password");
|
||||
return (retval);
|
||||
return (retval);
|
||||
}
|
||||
|
||||
pwd->pw_change = 0;
|
||||
lc = login_getclass(NULL);
|
||||
|
|
Loading…
Reference in a new issue