From 039bee2a055b3fbb4d756a06917c6f339f31bd92 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Wed, 9 Oct 2024 16:25:14 +0200 Subject: bios.py: fix typo in GRUB_CMDLINE_LINUX_DEFAULT string Check against GRUB_CMDLINE_LINUX_DEFAULT instead of GRUB_CMDLINE_LINUE_DEFAULT. --- src/utils/bios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils/bios.py b/src/utils/bios.py index 9c62b38..3fc762f 100644 --- a/src/utils/bios.py +++ b/src/utils/bios.py @@ -20,7 +20,7 @@ def get_grub_boot_params(mountpoint, device): if line.find('=') == -1: continue key, value = line.split('=', 1) - if key == 'GRUB_CMDLINE_LINUX' or key == 'GRUB_CMDLINE_LINUE_DEFAULT': + if key == 'GRUB_CMDLINE_LINUX' or key == 'GRUB_CMDLINE_LINUX_DEFAULT': value = value.replace('\n', '') value = value.strip('"') res.append(value) -- cgit v1.2.3-18-g5258