summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-06 19:19:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-06 19:19:18 +0000
commit00a109c58fa4a8aff5fa25f69e4f60200e13345d (patch)
tree5daaa0bf860c1ba9f156be2adac6d0e74238a6ba /perl-install
parentf74a99cba417f0bd28d3bad626a4666eeecebf74 (diff)
downloaddrakx-backup-do-not-use-00a109c58fa4a8aff5fa25f69e4f60200e13345d.tar
drakx-backup-do-not-use-00a109c58fa4a8aff5fa25f69e4f60200e13345d.tar.gz
drakx-backup-do-not-use-00a109c58fa4a8aff5fa25f69e4f60200e13345d.tar.bz2
drakx-backup-do-not-use-00a109c58fa4a8aff5fa25f69e4f60200e13345d.tar.xz
drakx-backup-do-not-use-00a109c58fa4a8aff5fa25f69e4f60200e13345d.zip
(choosePartitionsToFormat): don't propose already mounted partitions
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 81794315c..7f5f9b93b 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -360,7 +360,7 @@ sub choosePartitionsToFormat($$) {
$o->SUPER::choosePartitionsToFormat($fstab);
- my @l = grep { !$_->{isFormatted} && $_->{mntpoint} && !($::beginner && isSwap($_)) &&
+ my @l = grep { !$_->{isMounted} && !$_->{isFormatted} && $_->{mntpoint} && !($::beginner && isSwap($_)) &&
(!isOtherAvailableFS($_) || $::expert || $_->{toFormat})
} @$fstab;
$_->{toFormat} = 1 foreach grep { $::beginner && isSwap($_) } @$fstab;