mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 21:35:02 +00:00
dell: disable plugin if libsmbios fails
This commit is contained in:
parent
20e856ccbe
commit
2e52dc2242
@ -1078,6 +1078,14 @@ fu_plugin_startup (FuPlugin *plugin, GError **error)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (data->smi_obj->smi == NULL) {
|
||||
g_set_error (error,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_INTERNAL,
|
||||
"failed to initialize libsmbios library");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* If ESRT is not turned on, fwupd will have already created an
|
||||
* unlock device (if compiled with support).
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user