From b90a7a1ade6c1b9fba1f45e5659e93ad7163f6a5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 8 Oct 1999 15:33:40 +0000 Subject: *** empty log message *** --- perl-install/install_any.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') 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"), -- cgit v1.2.1