uefi: fix error message when no EFI loader

Fix log error message when _find_efi_loader does not find any
EFI loader in the ESP.
master v1.3.2-21
Alejandro Sirgo Rica 2024-10-11 12:05:28 +02:00
parent 039bee2a05
commit 7be953dbe7
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ def _find_efi_loader(loader_paths):
logging.info(f'Found bootloader at ESP partition: {efi_app}')
return efi_app
else:
raise OgError(f'Unable to locate Windows EFI bootloader bootmgfw.efi')
raise OgError('Unable to locate any EFI bootloader at ESP')
def find_windows_efi_loader(esp_mountpoint, bootlabel):