diff --git a/src/device.c b/src/device.c index 86e9b96..806a895 100644 --- a/src/device.c +++ b/src/device.c @@ -2146,7 +2146,7 @@ fprint_device_delete_enrolled_fingers (FprintDBusDevice *dbus_dev, } else { - opened = TRUE; + opened = fp_device_is_open (priv->dev); } sender = g_dbus_method_invocation_get_sender (invocation);