summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-23 13:45:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-23 13:45:14 +0000
commit8716f1aebac71e2cfe40c55a96e0c84b952a9e24 (patch)
tree3499728d51695eb9beae799fdd1babf857963d51
parent0355be7101baf8fdb5f7219b45bf2f198bb2b7da (diff)
downloaddrakx-backup-do-not-use-8716f1aebac71e2cfe40c55a96e0c84b952a9e24.tar
drakx-backup-do-not-use-8716f1aebac71e2cfe40c55a96e0c84b952a9e24.tar.gz
drakx-backup-do-not-use-8716f1aebac71e2cfe40c55a96e0c84b952a9e24.tar.bz2
drakx-backup-do-not-use-8716f1aebac71e2cfe40c55a96e0c84b952a9e24.tar.xz
drakx-backup-do-not-use-8716f1aebac71e2cfe40c55a96e0c84b952a9e24.zip
checking {notFormatted} must never be done alone, one must check {isFormatted} first!
-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 797b21836..6f4098211 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -268,7 +268,7 @@ sub prepare_write_fstab {
} else {
()
}
- } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{type} && !$_->{notFormatted} } @$fstab;
+ } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{type} && ($_->{isFormatted} || !$_->{notFormatted}) } @$fstab;
join('', map { $_->[1] } sort { $a->[0] cmp $b->[0] } @l), \@smb_credentials;
}