From 47211126016b0f8e3783d60299c9e74024d79fe8 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 13 Aug 2018 11:29:37 +0100 Subject: [PATCH] uefi: Don't assert when run as non-root --- plugins/uefi/fu-uefi-device.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/uefi/fu-uefi-device.c b/plugins/uefi/fu-uefi-device.c index 8f5b425d3..29244a2da 100644 --- a/plugins/uefi/fu-uefi-device.c +++ b/plugins/uefi/fu-uefi-device.c @@ -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