diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py index 5d7c185e9..052aa81cc 100644 --- a/src/modules/grubcfg/main.py +++ b/src/modules/grubcfg/main.py @@ -191,7 +191,7 @@ def modify_grub_default(partitions, root_mount_point, distributor): else: # We're not updating because of *keepDistributor*, but if # this was a comment line, then it's still not been set. - have_distributor_line = have_distributor_line or not lines[i].startsdwith("#") + have_distributor_line = have_distributor_line or not lines[i].startswith("#") else: lines = []