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
60a422b284
commit
9923513271
@ -3,6 +3,8 @@
|
||||
newusers cleanups
|
||||
* src/newusers.c: main() split in new functions: process_flags(),
|
||||
check_flags(), check_perms(), open_files(), and close_files().
|
||||
* src/newusers.c: Before pam_end(), the return value of the previous
|
||||
pam API was already checked. No need to validate it again.
|
||||
|
||||
2007-12-29 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
|
@ -695,7 +695,6 @@ int main (int argc, char **argv)
|
||||
nscd_flush_cache ("group");
|
||||
|
||||
#ifdef USE_PAM
|
||||
if (retval == PAM_SUCCESS)
|
||||
pam_end (pamh, PAM_SUCCESS);
|
||||
#endif /* USE_PAM */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user