efi: Fallback to volume scan instead of panicking

This commit is contained in:
czapek1337 2022-10-06 05:58:39 +02:00
parent 44a3f3f2f7
commit 02c26a8738
No known key found for this signature in database
GPG Key ID: F1BA4E98BC1E6EF2

View File

@ -104,7 +104,7 @@ could_not_match:
(void **)&loaded_image); (void **)&loaded_image);
if (status) { if (status) {
panic(false, "HandleProtocol failure (%x)", status); goto could_not_match;
} }
boot_volume = disk_volume_from_efi_handle(loaded_image->DeviceHandle); boot_volume = disk_volume_from_efi_handle(loaded_image->DeviceHandle);