summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-14 14:20:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-14 14:20:01 +0000
commit63f7fe80a94dabfeaaa78e72e264e6510811e16d (patch)
tree4141decf0c90b332efa16cc823b844ea4eff098f /perl-install
parentc57f56e02cc645654d71c30f0bacbac064e3c1e8 (diff)
downloaddrakx-backup-do-not-use-63f7fe80a94dabfeaaa78e72e264e6510811e16d.tar
drakx-backup-do-not-use-63f7fe80a94dabfeaaa78e72e264e6510811e16d.tar.gz
drakx-backup-do-not-use-63f7fe80a94dabfeaaa78e72e264e6510811e16d.tar.bz2
drakx-backup-do-not-use-63f7fe80a94dabfeaaa78e72e264e6510811e16d.tar.xz
drakx-backup-do-not-use-63f7fe80a94dabfeaaa78e72e264e6510811e16d.zip
don't write fstab entries which are notFormatted
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 7752e8e79..315837695 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -266,7 +266,7 @@ sub prepare_write_fstab {
} else {
()
}
- } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{type} } @$fstab;
+ } grep { $_->{device} && ($_->{mntpoint} || $_->{real_mntpoint}) && $_->{type} && !$_->{notFormatted} } @$fstab;
join('', map { $_->[1] } sort { $a->[0] cmp $b->[0] } @l), \@smb_credentials;
}