summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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;