summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));
}
}