diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-09 16:25:14 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-09 16:25:14 +0200 |
commit | 039bee2a055b3fbb4d756a06917c6f339f31bd92 (patch) | |
tree | 631d466d791a08f506a663a9c49ea3b0b0a24f7d /src/utils | |
parent | e8ddbbd0757efc81fd1fafa3fd98c0bae169bdcb (diff) |
bios.py: fix typo in GRUB_CMDLINE_LINUX_DEFAULT string
Check against GRUB_CMDLINE_LINUX_DEFAULT instead of
GRUB_CMDLINE_LINUE_DEFAULT.
Diffstat (limited to 'src/utils')
-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 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) |