summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 de3f62867..8b91b29b3 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -409,7 +409,7 @@ sub write_fstab($;$$) {
my %new;
@to_add = grep {
- if (!$new{$_->[0]} && !$new{$_->[1]}) {
+ if ($_->[0] eq 'none' || !$new{$_->[0]} && !$new{$_->[1]}) {
#- keep in mind the new line for fstab.
@new{$_->[0], $_->[1]} = (1, 1);
1;