mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 06:10:13 +00:00
trivial: Use the GError when loading hwinfo
No behaviour change as this always returns TRUE even if failing to load SMBIOS.
This commit is contained in:
parent
98622b690b
commit
ee8c63b56a
@ -7766,8 +7766,10 @@ fu_engine_load(FuEngine *self, FuEngineLoadFlags flags, FuProgress *progress, GE
|
||||
fu_progress_step_done(progress);
|
||||
|
||||
/* load SMBIOS and the hwids */
|
||||
if (flags & FU_ENGINE_LOAD_FLAG_HWINFO)
|
||||
fu_context_load_hwinfo(self->ctx, NULL);
|
||||
if (flags & FU_ENGINE_LOAD_FLAG_HWINFO) {
|
||||
if (!fu_context_load_hwinfo(self->ctx, error))
|
||||
return FALSE;
|
||||
}
|
||||
fu_progress_step_done(progress);
|
||||
|
||||
/* load AppStream metadata */
|
||||
|
Loading…
Reference in New Issue
Block a user