summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-22 21:26:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-22 21:26:12 +0000
commit8b9f10b6f500bff41b2d7e47716a82899d8dc95d (patch)
tree208274038b6c1db4872080bc08b62920b7122451 /perl-install/fsedit.pm
parentcc57ba20ce1b616971ece004f6dd4c1301ce5247 (diff)
downloaddrakx-8b9f10b6f500bff41b2d7e47716a82899d8dc95d.tar
drakx-8b9f10b6f500bff41b2d7e47716a82899d8dc95d.tar.gz
drakx-8b9f10b6f500bff41b2d7e47716a82899d8dc95d.tar.bz2
drakx-8b9f10b6f500bff41b2d7e47716a82899d8dc95d.tar.xz
drakx-8b9f10b6f500bff41b2d7e47716a82899d8dc95d.zip
yet again better error reporting
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 5610adc42..1ca1f1b72 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -148,6 +148,7 @@ sub hds {
eval { partition_table::read($hd, $flags->{clearall} || member($_->{device}, @{$flags->{clear} || []})) };
if ($@) {
+ cdie "ask_before_blanking:$@";
partition_table_raw::zero_MBR($hd);
}
member($_->{device}, @{$flags->{clear} || []}) and partition_table::remove($hd, $_)