mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Fix another error path
More to do though...
This commit is contained in:
committed by
Daniel Drake
parent
f83ee93d6a
commit
0a075532c7
@ -557,8 +557,9 @@ static void fprint_device_verify_start(FprintDevice *rdev,
|
|||||||
|
|
||||||
prints = store.discover_prints(priv->ddev, priv->username);
|
prints = store.discover_prints(priv->ddev, priv->username);
|
||||||
if (prints == NULL) {
|
if (prints == NULL) {
|
||||||
//FIXME exit
|
g_set_error(&error, FPRINT_ERROR, FPRINT_ERROR_NO_SUCH_LOADED_PRINT,
|
||||||
g_message ("NO PRINTS");
|
"No fingerprints enrolled");
|
||||||
|
dbus_g_method_return_error(context, error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (fp_dev_supports_identification(priv->dev)) {
|
if (fp_dev_supports_identification(priv->dev)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user