summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-11 12:05:28 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-11 12:06:37 +0200
commit7be953dbe70f54a7b9cc9e6f09f35e4a0ebf8459 (patch)
treefc7f8f9dddc90ce9fcd9bb1e2fa7f1c020578cec /src/utils
parent039bee2a055b3fbb4d756a06917c6f339f31bd92 (diff)
uefi: fix error message when no EFI loaderHEADv1.3.2-21master
Fix log error message when _find_efi_loader does not find any EFI loader in the ESP.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/uefi.py2
1 files changed, 1 insertions, 1 deletions
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):