aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_unix')
-rw-r--r--modules/pam_unix/pam_unix_passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
index b915ce66..444d61ca 100644
--- a/modules/pam_unix/pam_unix_passwd.c
+++ b/modules/pam_unix/pam_unix_passwd.c
@@ -286,7 +286,7 @@ static int _unix_run_update_binary(pam_handle_t *pamh, unsigned long long ctrl,
DIAG_POP_IGNORE_CAST_QUAL;
/* should not get here: exit with error */
- D(("helper binary is not available"));
+ pam_syslog(pamh, LOG_ERR, "failed to execute %s: %m", UPDATE_HELPER);
_exit(PAM_AUTHINFO_UNAVAIL);
} else if (child > 0) {
/* wait for child */