pam_end (pamh, retval);
}
if (retval != PAM_SUCCESS)
if (retval != PAM_SUCCESS) {
fprintf (stderr, _("%s: PAM chauthtok failed\n"), Prog);
exit (1);
if (retval == PAM_SUCCESS)
pam_end (pamh, PAM_SUCCESS);