diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-21 12:04:23 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-21 12:04:23 +0200 |
commit | b3659a30fc3b8f5b09d14869aa33b09d720dabe4 (patch) | |
tree | a6bc785087f39d85a7486a29ff3829f050000a09 /src/utils/bios.py | |
parent | 7be953dbe70f54a7b9cc9e6f09f35e4a0ebf8459 (diff) |
bios: fix use of undefined initrd_dir variable in get_vmlinuz_path
Use the intended linuz_dir instead of initrd_dir in the function
get_vmlinuz_path.
Diffstat (limited to 'src/utils/bios.py')
-rw-r--r-- | src/utils/bios.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/bios.py b/src/utils/bios.py index 3fc762f..916f7d4 100644 --- a/src/utils/bios.py +++ b/src/utils/bios.py @@ -36,7 +36,7 @@ def get_vmlinuz_path(mountpoint): target_file = file if not target_file: - raise OgError(f'vmlinuz not found in {initrd_dir}') + raise OgError(f'vmlinuz not found in {linuz_dir}') return os.path.join(linuz_dir, target_file) |