summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-08 15:33:40 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-08 15:33:40 +0000
commitb90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5 (patch)
treeaf515f21f05701c777cab241b207a7d6819365e0
parent2c23b224f71e7b9f634555029e038e39861559f7 (diff)
downloaddrakx-b90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5.tar
drakx-b90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5.tar.gz
drakx-b90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5.tar.bz2
drakx-b90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5.tar.xz
drakx-b90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5.zip
*** empty log message ***
-rw-r--r--perl-install/install_any.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 181a616cf..e0dd2478d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -189,6 +189,8 @@ I'll try to go on blanking bad partitions")) unless $o->{partitioning}{readonly}
($o->{hds}, $o->{fstab}, $ok2) = fsedit::verifyHds($o->{hds}, $o->{partitioning}{readonly}, $ok);
+ fs::check_mounted($o->{fstab});
+
$o->ask_warn('',
_("DiskDrake failed to read correctly the partition table.
Continue at your own risk!")) if !$ok2 && $ok && !$o->{partitioning}{readonly};
@@ -223,7 +225,7 @@ sub searchAndMount4Upgrade {
eval { fs::umount_part($root, $o->{prefix}) };
}
- last if is_empty_array_ref($found);
+ last unless is_empty_array_ref($found);
delete $root->{mntpoint};
$o->ask_warn(_("Information"),