Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.
This commit is contained in:
parent
8dc4ca297c
commit
dc1dccd9e2
@ -1,3 +1,8 @@
|
|||||||
|
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/chpasswd.c: Before pam_end(), the return value of the previous
|
||||||
|
pam API was already checked. No need to validate it again.
|
||||||
|
|
||||||
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
|
2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/groupadd.c (find_new_gid): A group with the specified name
|
* src/groupadd.c (find_new_gid): A group with the specified name
|
||||||
|
@ -411,7 +411,6 @@ int main (int argc, char **argv)
|
|||||||
pw_unlock ();
|
pw_unlock ();
|
||||||
|
|
||||||
#ifdef USE_PAM
|
#ifdef USE_PAM
|
||||||
if (retval == PAM_SUCCESS)
|
|
||||||
pam_end (pamh, PAM_SUCCESS);
|
pam_end (pamh, PAM_SUCCESS);
|
||||||
#endif /* USE_PAM */
|
#endif /* USE_PAM */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user