diff options
-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) |