summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 0c6240a80..7c8a6c15c 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -342,7 +342,7 @@ sub read_grub2() {
$entry->{initrd} = $1;
} elsif (/submenu\s+['"]([^']+)["']/) {
push @menus, $1;
- } elsif (/^\s+}/) {
+ } elsif (/^\s*}/) {
if ($entry) {
push @{$bootloader{entries}}, $entry;
undef $entry;