pam_fprintd: Just return a PAM_AUTH_ERROR on unknown errors

If something under the hood failed with a generic device error we'd just
mark the PAM module not available, this is probably too much as it may
just be due to a device temporary error.

So make it stop but allow the loading system to retry with it
This commit is contained in:
Marco Trevisan (Treviño)
2021-03-02 15:10:33 +01:00
parent df6ebefef7
commit ecf6b7c323
2 changed files with 2 additions and 2 deletions

View File

@ -565,7 +565,7 @@ do_verify (sd_bus *bus,
}
else if (str_equal (data->result, "verify-unknown-error"))
{
return PAM_AUTHINFO_UNAVAIL;
return PAM_AUTH_ERR;
}
else if (str_equal (data->result, "verify-disconnected"))
{