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 191f1e6df..274abe8ef 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1064,7 +1064,7 @@ IconIndex=0
sub install {
my ($lilo, $fstab, $hds) = @_;
- if (my ($p) = grep { $lilo->{boot} =~ /\Q$_->{device}/ } @$fstab) {
+ if (my ($p) = grep { $lilo->{boot} eq "/dev/$_->{device}" } @$fstab) {
die _("You can't install the bootloader on a %s partition\n", partition_table::type2fs($p))
if isThisFs('xfs', $p);
}