aboutsummaryrefslogtreecommitdiff
path: root/src/pam-freerdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pam-freerdp.c')
-rw-r--r--src/pam-freerdp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 4b97bb8..88286c9 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -556,6 +556,10 @@ pam_sm_close_session (pam_handle_t *pamh, int flags, int argc, const char **argv
}
}
+ /* We reset this no matter. If we error'd trying to do it, we don't
+ want to try again. We'll just return the error for this time. */
+ session_pid = 0;
+
done:
return retval;
}