summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/bootloader.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 4f6fe3284..6f10bf77c 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -88,8 +88,7 @@ sub read_grub {
foreach (cat_("$::prefix$file")) {
next if /^\s*#/ || /^\s*$/;
chomp;
- # ($_, $v) = /^\s*([^=\s]+)\s*(?:=\s*(.*?))?\s*$/ or log::l("unknown line in $file: $_"), next;
- if (! /^\s*([^\s]*)\s*(.*?)\s*$/) {
+ if (! /^\s*(\S*)\s*(.*?)\s*$/) {
print STDERR "unknown line in $file: \"", chomp_($_), "\"\n";
next;
}