summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-08 16:14:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-08 16:14:53 +0000
commit9319d874f72d29f254eee7965688bdcb7db41706 (patch)
treea4825d3bfd5bdd66382f90a666506b04d704a68d /perl-install
parentf33d79577db862a95f802d1195202772ad3762b8 (diff)
downloaddrakx-9319d874f72d29f254eee7965688bdcb7db41706.tar
drakx-9319d874f72d29f254eee7965688bdcb7db41706.tar.gz
drakx-9319d874f72d29f254eee7965688bdcb7db41706.tar.bz2
drakx-9319d874f72d29f254eee7965688bdcb7db41706.tar.xz
drakx-9319d874f72d29f254eee7965688bdcb7db41706.zip
(write_fstab): change again for 'none' checking the mount point
Diffstat (limited to 'perl-install')
-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 8b91b29b3..9d9180286 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -409,7 +409,7 @@ sub write_fstab($;$$) {
my %new;
@to_add = grep {
- if ($_->[0] eq 'none' || !$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;