bios.py: fix typo in GRUB_CMDLINE_LINUX_DEFAULT string

Check against GRUB_CMDLINE_LINUX_DEFAULT instead of
GRUB_CMDLINE_LINUE_DEFAULT.
master
Alejandro Sirgo Rica 2024-10-09 16:25:14 +02:00
parent e8ddbbd075
commit 039bee2a05
1 changed files with 1 additions and 1 deletions

View File

@ -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)