From 7be953dbe70f54a7b9cc9e6f09f35e4a0ebf8459 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Fri, 11 Oct 2024 12:05:28 +0200 Subject: 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. --- src/utils/uefi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils/uefi.py b/src/utils/uefi.py index c0bc958..27b7ba0 100644 --- a/src/utils/uefi.py +++ b/src/utils/uefi.py @@ -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): -- cgit v1.2.3-18-g5258