mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Fix fprintd exiting after a device goes unused
Simple logic error that caused fprintd to exit when a device was used then unused.
This commit is contained in:
committed by
Daniel Drake
parent
c1ec85006e
commit
c1dc3f1394
@ -97,7 +97,7 @@ fprint_manager_in_use_notified (FprintDevice *rdev, GParamSpec *spec, FprintMana
|
|||||||
g_source_remove (priv->timeout_id);
|
g_source_remove (priv->timeout_id);
|
||||||
priv->timeout_id = 0;
|
priv->timeout_id = 0;
|
||||||
}
|
}
|
||||||
if (!priv->no_timeout)
|
if (priv->no_timeout)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (l = priv->dev_registry; l != NULL; l = l->next) {
|
for (l = priv->dev_registry; l != NULL; l = l->next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user