summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-07-01 12:55:28 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-07-01 12:55:28 +0000
commit3b8e5409e6265e10709f46ac179f3ea7d014fcac (patch)
treebf01ae2f5351a8bb6afe3ef30389af4eeef23d4e /perl-install/fsedit.pm
parent776c50b96e47354b7c32b56f5b1965d266fd23a7 (diff)
downloaddrakx-3b8e5409e6265e10709f46ac179f3ea7d014fcac.tar
drakx-3b8e5409e6265e10709f46ac179f3ea7d014fcac.tar.gz
drakx-3b8e5409e6265e10709f46ac179f3ea7d014fcac.tar.bz2
drakx-3b8e5409e6265e10709f46ac179f3ea7d014fcac.tar.xz
drakx-3b8e5409e6265e10709f46ac179f3ea7d014fcac.zip
*** empty log message ***
Diffstat (limited to 'perl-install/fsedit.pm')
-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 fb2703e8f..62c384832 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -42,7 +42,7 @@ sub hds($$) {
eval { $rc = partition_table::read($hd, $flags->{clearall}) };
if ($@) {
$@ =~ /bad magic number/ or die;
- $flags->{forcezero} && !$::testing ? partition_table_raw::zero_MBR($hd) : die;
+ partition_table_raw::zero_MBR($hd) if $flags->{forcezero};
}
$rc ? push @hds, $hd : log::l("An error occurred reading the partition table for the block device $_->{device}");
}