mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Fix return value for GetDefaultDevice
Tell the front-end there's no devices available when there isn't any, instead of erroring out.
This commit is contained in:
committed by
Daniel Drake
parent
64e415aaac
commit
69e987b335
@ -43,6 +43,7 @@ typedef enum {
|
||||
FPRINT_ERROR_NO_ENROLLED_PRINTS, /* No prints are enrolled */
|
||||
FPRINT_ERROR_NO_ACTION_IN_PROGRESS, /* No actions currently in progress */
|
||||
FPRINT_ERROR_INVALID_FINGERNAME, /* the finger name passed was invalid */
|
||||
FPRINT_ERROR_NO_SUCH_DEVICE, /* device does not exist */
|
||||
} FprintError;
|
||||
|
||||
/* Manager */
|
||||
|
||||
Reference in New Issue
Block a user