From 3b8e5409e6265e10709f46ac179f3ea7d014fcac Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 1 Jul 1999 12:55:28 +0000 Subject: *** empty log message *** --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') 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}"); } -- cgit v1.2.1