summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-02-02 09:57:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-02-02 09:57:10 +0000
commite1d7d13d8807b1a404afcaf90c7686c1fcbca2c2 (patch)
tree63f2ca3b3261e92b77e788cc0e31ab585cd0b2d3 /perl-install/fsedit.pm
parentd761456f9bd18a8210462aa58f03fb0c0c0b9fe5 (diff)
downloaddrakx-e1d7d13d8807b1a404afcaf90c7686c1fcbca2c2.tar
drakx-e1d7d13d8807b1a404afcaf90c7686c1fcbca2c2.tar.gz
drakx-e1d7d13d8807b1a404afcaf90c7686c1fcbca2c2.tar.bz2
drakx-e1d7d13d8807b1a404afcaf90c7686c1fcbca2c2.tar.xz
drakx-e1d7d13d8807b1a404afcaf90c7686c1fcbca2c2.zip
log test_for_bad_drives errors
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 4a30c9765..58d5d736d 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -144,6 +144,7 @@ sub get_hds {
eval { partition_table::raw::test_for_bad_drives($hd) if !$flags->{no_bad_drives} };
if (my $err = $@) {
+ log::l("test_for_bad_drives returned $err");
if ($err =~ /write error:/) {
$hd->{readonly} = 1;
} elsif ($err =~ /read error:/) {