From c1dc3f139434df0ed27f26f2f343ab2af78a93cd Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 26 Nov 2008 13:55:15 +0000 Subject: [PATCH] Fix fprintd exiting after a device goes unused Simple logic error that caused fprintd to exit when a device was used then unused. --- src/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manager.c b/src/manager.c index fdf2f16..9a23aee 100644 --- a/src/manager.c +++ b/src/manager.c @@ -97,7 +97,7 @@ fprint_manager_in_use_notified (FprintDevice *rdev, GParamSpec *spec, FprintMana g_source_remove (priv->timeout_id); priv->timeout_id = 0; } - if (!priv->no_timeout) + if (priv->no_timeout) return; for (l = priv->dev_registry; l != NULL; l = l->next) {