summaryrefslogtreecommitdiffstats
path: root/src/utils/bios.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-09 16:25:14 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-09 16:25:14 +0200
commit039bee2a055b3fbb4d756a06917c6f339f31bd92 (patch)
tree631d466d791a08f506a663a9c49ea3b0b0a24f7d /src/utils/bios.py
parente8ddbbd0757efc81fd1fafa3fd98c0bae169bdcb (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/bios.py')
-rw-r--r--src/utils/bios.py2
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)