trivial: uefi-dbx: correct error message on missing file

```
unset error in plugin uefi_dbx for add_security_attrs()
```
This commit is contained in:
Mario Limonciello 2020-05-07 13:02:18 -05:00
parent b9640a28ec
commit cb6ec2b18e

View File

@ -48,9 +48,11 @@ fu_plugin_startup (FuPlugin *plugin, GError **error)
if (data->fn == NULL) {
g_autofree gchar *dbxdir = NULL;
dbxdir = fu_common_get_path (FU_PATH_KIND_EFIDBXDIR);
g_prefix_error (error,
"file can be downloaded from %s and decompressed into %s: ",
FU_UEFI_DBX_DATA_URL, dbxdir);
g_set_error (error,
FWUPD_ERROR,
FWUPD_ERROR_NOT_SUPPORTED,
"file can be downloaded from %s and decompressed into %s: ",
FU_UEFI_DBX_DATA_URL, dbxdir);
return FALSE;
}