summaryrefslogtreecommitdiff
path: root/src/gs-auth-pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-auth-pam.c')
-rw-r--r--src/gs-auth-pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gs-auth-pam.c b/src/gs-auth-pam.c
index f150277..3ca3e42 100644
--- a/src/gs-auth-pam.c
+++ b/src/gs-auth-pam.c
@@ -694,6 +694,7 @@ out:
if (watch_id != 0)
{
g_source_remove (watch_id);
+ watch_id = 0;
}
if (channel != NULL)