summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-21 12:09:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-21 12:09:47 +0000
commitfa0c13c106662b2499ea78d0a8fb72857f451f3e (patch)
tree7929a9bc7fa51bec6e077759f6950a6097caa04f /perl-install
parent809560885dd6a8a520860a773f7561c4d75cd950 (diff)
downloaddrakx-fa0c13c106662b2499ea78d0a8fb72857f451f3e.tar
drakx-fa0c13c106662b2499ea78d0a8fb72857f451f3e.tar.gz
drakx-fa0c13c106662b2499ea78d0a8fb72857f451f3e.tar.bz2
drakx-fa0c13c106662b2499ea78d0a8fb72857f451f3e.tar.xz
drakx-fa0c13c106662b2499ea78d0a8fb72857f451f3e.zip
use test_for_bad_drives even after install (esp. to detect removed usb-storage
devices still visible in /proc/scsi/scsi)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 98259fc15..7ea91df32 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -184,7 +184,7 @@ sub hds {
my $h = partition_table::raw::get_geometry($hd->{file}) or log::l("An error occurred while getting the geometry of block device $hd->{file}: $!"), next;
add2hash_($hd, $h);
- eval { partition_table::raw::test_for_bad_drives($hd) if $::isInstall };
+ eval { partition_table::raw::test_for_bad_drives($hd) };
if (my $err = $@) {
if ($err =~ /write error:/) {
$hd->{readonly} = 1;