mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-05 12:18:10 +02:00
Fix another error path
More to do though...
This commit is contained in:
parent
f83ee93d6a
commit
0a075532c7
1 changed files with 3 additions and 2 deletions
|
|
@ -557,8 +557,9 @@ static void fprint_device_verify_start(FprintDevice *rdev,
|
|||
|
||||
prints = store.discover_prints(priv->ddev, priv->username);
|
||||
if (prints == NULL) {
|
||||
//FIXME exit
|
||||
g_message ("NO PRINTS");
|
||||
g_set_error(&error, FPRINT_ERROR, FPRINT_ERROR_NO_SUCH_LOADED_PRINT,
|
||||
"No fingerprints enrolled");
|
||||
dbus_g_method_return_error(context, error);
|
||||
return;
|
||||
}
|
||||
if (fp_dev_supports_identification(priv->dev)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue