summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 7b9563ebb..f12da5e86 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -71,7 +71,7 @@ sub get_mntpoints_from_fstab {
$p->{device} eq $_->{device} or next;
$_->{type} ne 'auto' && $_->{type} ne type2fs($p->{type}) and
log::l("err, fstab and partition table do not agree for $_->{device} type: " . (type2fs($p->{type}) || type2name($p->{type})) . " vs $_->{type}"), next;
- delete $_->{unsafeMntpoint} || !$_->{mntpoint} or next;
+ delete $p->{unsafeMntpoint} || !$p->{mntpoint} or next;
$p->{mntpoint} = $_->{mntpoint};
$p->{options} = $_->{options};
}