diff options
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 691126773..06ace7895 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -241,13 +241,13 @@ sub ask_mntpoint_s {#-}}} my %m; foreach (@$fstab) { my $m = $_->{mntpoint}; - next if !$m || $m eq 'swap'; #- there may be a lot of swap. + $m && $m =~ m!^/! or next; #- there may be a lot of swaps or "none" $m{$m} and die N("Duplicate mount point %s", $m); $m{$m} = 1; #- in case the type does not correspond, force it to ext3 - fs::type::set_fs_type($_, 'ext3') if $m =~ m|^/| && !isTrueFS($_) && !isOtherAvailableFS($_); + fs::type::set_fs_type($_, 'ext3') if !isTrueFS($_) && !isOtherAvailableFS($_); } 1; } |