mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 13:59:15 +00:00
uefi: Don't assert when run as non-root
This commit is contained in:
parent
f78f66d479
commit
4721112601
@ -407,7 +407,6 @@ fu_uefi_device_new_from_entry (const gchar *entry_path)
|
||||
self->last_attempt_status = fu_uefi_read_file_as_uint64 (entry_path, "last_attempt_status");
|
||||
self->last_attempt_version = fu_uefi_read_file_as_uint64 (entry_path, "last_attempt_version");
|
||||
self->fw_version_lowest = fu_uefi_read_file_as_uint64 (entry_path, "lowest_supported_fw_version");
|
||||
g_assert (self->fw_class != NULL);
|
||||
|
||||
/* the hardware instance is not in the ESRT table and we should really
|
||||
* write the EFI stub to query with FMP -- but we still have not ever
|
||||
|
Loading…
Reference in New Issue
Block a user