diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c index 397f7d3a8..15a691b11 100644 --- a/auth-pam.c +++ b/auth-pam.c | |||
@@ -117,6 +117,7 @@ pthread_create(sp_pthread_t *thread, const void *attr __unused, | |||
117 | { | 117 | { |
118 | pid_t pid; | 118 | pid_t pid; |
119 | 119 | ||
120 | sshpam_thread_status = -1; | ||
120 | switch ((pid = fork())) { | 121 | switch ((pid = fork())) { |
121 | case -1: | 122 | case -1: |
122 | error("fork(): %s", strerror(errno)); | 123 | error("fork(): %s", strerror(errno)); |