summaryrefslogtreecommitdiff
path: root/src/gnome-ask-password-agent.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnome-ask-password-agent.vala')
-rw-r--r--src/gnome-ask-password-agent.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 2bfc6a9c83..c31c07e3db 100644
--- a/src/gnome-ask-password-agent.vala
+++ b/src/gnome-ask-password-agent.vala
@@ -165,7 +165,7 @@ public class MyStatusIcon : StatusIcon {
if (not_after_as_string.scanf("%llu", out not_after) != 1)
return false;
- if (not_after < now)
+ if (not_after > 0 && not_after < now)
return false;
socket = key_file.get_string("Ask", "Socket");