Commit 6f810903 authored by Mario Limonciello's avatar Mario Limonciello
Browse files

dell: disable plugin if libsmbios fails

parent 6e6135ff
......@@ -896,6 +896,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).
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment