diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c index 35aecbdb4..a07f1fe77 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -161,9 +161,9 @@ sshpam_sigchld_handler(int sig) | |||
161 | WTERMSIG(sshpam_thread_status) == SIGTERM) | 161 | WTERMSIG(sshpam_thread_status) == SIGTERM) |
162 | return; /* terminated by pthread_cancel */ | 162 | return; /* terminated by pthread_cancel */ |
163 | if (!WIFEXITED(sshpam_thread_status)) | 163 | if (!WIFEXITED(sshpam_thread_status)) |
164 | fatal("PAM: authentication thread exited unexpectedly"); | 164 | sigdie("PAM: authentication thread exited unexpectedly"); |
165 | if (WEXITSTATUS(sshpam_thread_status) != 0) | 165 | if (WEXITSTATUS(sshpam_thread_status) != 0) |
166 | fatal("PAM: authentication thread exited uncleanly"); | 166 | sigdie("PAM: authentication thread exited uncleanly"); |
167 | } | 167 | } |
168 | 168 | ||
169 | /* ARGSUSED */ | 169 | /* ARGSUSED */ |