summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-25 13:11:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-25 13:11:24 +0000
commit00197645126e48aa71d8e2d0508bd25d627f8b02 (patch)
treed684467cd753b59a0ea302113a52bebea636b2fa /perl-install/fsedit.pm
parentdd31a5fa89b04ee80160e1c2fda67e6e36a210a2 (diff)
downloaddrakx-00197645126e48aa71d8e2d0508bd25d627f8b02.tar
drakx-00197645126e48aa71d8e2d0508bd25d627f8b02.tar.gz
drakx-00197645126e48aa71d8e2d0508bd25d627f8b02.tar.bz2
drakx-00197645126e48aa71d8e2d0508bd25d627f8b02.tar.xz
drakx-00197645126e48aa71d8e2d0508bd25d627f8b02.zip
safer
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 8155684c3..b790de23d 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -261,7 +261,7 @@ sub read_proc_partitions {
$part->{rootDevice} = $devfs2normal{dirname($part->{dev}) . '/disc'};
} else {
$dev = $part->{dev};
- if (my $hd = find { $part->{dev} =~ /^$_->{device}./ } @$hds) {
+ if (my $hd = find { $part->{dev} =~ /^\Q$_->{device}\E./ } @$hds) {
put_in_hash($part, partition_table::hd2minimal_part($hd));
}
}