Also split update_shell() out of main().

This commit is contained in:
nekral-guest
2007-12-31 15:06:22 +00:00
parent f031095d9f
commit ca035a53a0
2 changed files with 101 additions and 84 deletions

View File

@@ -1,6 +1,7 @@
2007-12-31 Nicolas François <nicolas.francois@centraliens.net>
* src/chsh.c: Split process_flags(), and check_perms() out of main().
* src/chsh.c: Split process_flags(), check_perms(), and update_shell()
out of main().
* src/chsh.c: Before pam_end(), the return value of the previous
pam API was already checked. No need to validate it again.