mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
file_storage: Do not remove the finger path two times
Return the actual operation error instead
This commit is contained in:
committed by
Benjamin Berg
parent
3faaa81257
commit
eece834231
@ -243,7 +243,7 @@ file_storage_print_data_delete (FpDevice *dev, FpFinger finger, const char *user
|
|||||||
path, g_strerror (r));
|
path, g_strerror (r));
|
||||||
|
|
||||||
/* FIXME: cleanup empty directory */
|
/* FIXME: cleanup empty directory */
|
||||||
return g_unlink (path);
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GSList *
|
static GSList *
|
||||||
|
|||||||
Reference in New Issue
Block a user