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:
Richard Hughes 2022-10-25 11:15:56 +01:00 committed by Mario Limonciello
parent 98622b690b
commit ee8c63b56a

View File

@ -7766,8 +7766,10 @@ fu_engine_load(FuEngine *self, FuEngineLoadFlags flags, FuProgress *progress, GE
fu_progress_step_done(progress); fu_progress_step_done(progress);
/* load SMBIOS and the hwids */ /* load SMBIOS and the hwids */
if (flags & FU_ENGINE_LOAD_FLAG_HWINFO) if (flags & FU_ENGINE_LOAD_FLAG_HWINFO) {
fu_context_load_hwinfo(self->ctx, NULL); if (!fu_context_load_hwinfo(self->ctx, error))
return FALSE;
}
fu_progress_step_done(progress); fu_progress_step_done(progress);
/* load AppStream metadata */ /* load AppStream metadata */