summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-09-06 13:12:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-09-06 13:12:12 +0000
commit94762646056983e980c96e9ba4a883bb657bb9e8 (patch)
tree01808a213ddb6f4b79dbf623528d86310c097cc9 /perl-install/bootloader.pm
parent03c2cbc89dd72cf74930a8bb3f66e9a40533b452 (diff)
downloaddrakx-94762646056983e980c96e9ba4a883bb657bb9e8.tar
drakx-94762646056983e980c96e9ba4a883bb657bb9e8.tar.gz
drakx-94762646056983e980c96e9ba4a883bb657bb9e8.tar.bz2
drakx-94762646056983e980c96e9ba4a883bb657bb9e8.tar.xz
drakx-94762646056983e980c96e9ba4a883bb657bb9e8.zip
(read): fix
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 5f475a0b8..df2020bb6 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -83,7 +83,7 @@ sub read() {
my %b;
foreach (cat_("$::prefix$file")) {
next if /^\s*#/ || /^\s*$/;
- ($_, $v) = /^\s*(\S+)\s*(?:=\s*(.*?))?\s*$/ or log::l("unknown line in lilo.conf: $_"), next;
+ ($_, $v) = /^\s*([^=\s]+)\s*(?:=\s*(.*?))?\s*$/ or log::l("unknown line in lilo.conf: $_"), next;
if (/^(image|other)$/) {
if (arch() =~ /ppc/) {