From 8716f1aebac71e2cfe40c55a96e0c84b952a9e24 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 23 Jan 2004 13:45:14 +0000 Subject: checking {notFormatted} must never be done alone, one must check {isFormatted} first! --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1