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 1dc311adc..96142670a 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -279,7 +279,7 @@ sub read_lilo() {
next if /^\s*#/ || /^\s*$/;
($_, $v) = /^\s*([^=\s]+)\s*(?:=\s*(.*?))?\s*$/ or log::l("unknown line in $file: $_"), next;
- if (/^(image|other|macos|macosx|bsd|darwin)$/) {
+ if (/^(?:image|other|macos|macosx|bsd|darwin)$/) {
$v = yaboot2file($v) if arch() =~ /ppc/;
push @{$b{entries}}, $e = { type => $_, kernel_or_dev => $v };
$global = 0;