diff options
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 16835a196..8188fa87f 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -116,7 +116,9 @@ sub ask_mntpoint_s { (fsedit::get_root($fstab) || {})->{type} = 0x83; my %m; foreach (@$fstab) { - my $m = $_->{mntpoint} or next; + my $m = $_->{mntpoint}; + + next unless $m && $m ne 'swap'; #- there may be a lot of swap. $m{$m} and die _("Duplicate mount point %s", $m); $m{$m} = 1; |