summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 1e629345e..42f4f9586 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -327,7 +327,7 @@ sub read_grub2() {
}
} elsif (/initrd\s+(\S+)/ || /module\s+(\S+initrd\S+)\s+(.*)?/) {
$entry->{initrd} = $1;
- } elsif (/^submenu\s+['"]([^']+)["']/) {
+ } elsif (/submenu\s+['"]([^']+)["']/) {
push @menus, $1;
} elsif (/^\s+}/) {
if ($entry) {