checked. No need to validate it again.
GID is specified with -g. Simplify find_new_gid accordingly.
* src/groupadd.c (process_flags): prefer fail_exit to exit. This avoid
an explicit call to audit_logger().
+ * src/groupadd.c (main): 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>
nscd_flush_cache ("group");
#ifdef USE_PAM
- if (retval == PAM_SUCCESS) {
- pam_end (pamh, PAM_SUCCESS);
- }
+ pam_end (pamh, PAM_SUCCESS);
#endif /* USE_PAM */
+
exit (E_SUCCESS);
/* NOT REACHED */
}