diff options
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index b1d48cd65..461f94760 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -239,7 +239,7 @@ sub read_grub2 { $bootloader{timeout} = $h{GRUB_TIMEOUT}; $bootloader{entries} = []; my $entry; - foreach (cat_("$::prefix/boot/grub2/grub.cfg")) { + foreach (cat_utf8("$::prefix/boot/grub2/grub.cfg")) { next if /^#/; if (/menuentry\s+['"]([^']+)["']/) { push @{$bootloader{entries}}, $entry if $entry; |