diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-12-22 08:40:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-12-22 08:40:20 +0000 |
commit | b35e21e0bf648fbc576bbb0fe17e5f1ff0b5d58f (patch) | |
tree | 1c18737e963fd577fc62cf8cc4c615b7f01940b9 /perl-install/fsedit.pm | |
parent | d648c6c5c257c541e8cbb8253d4f3ed1f275b703 (diff) | |
download | drakx-b35e21e0bf648fbc576bbb0fe17e5f1ff0b5d58f.tar drakx-b35e21e0bf648fbc576bbb0fe17e5f1ff0b5d58f.tar.gz drakx-b35e21e0bf648fbc576bbb0fe17e5f1ff0b5d58f.tar.bz2 drakx-b35e21e0bf648fbc576bbb0fe17e5f1ff0b5d58f.tar.xz drakx-b35e21e0bf648fbc576bbb0fe17e5f1ff0b5d58f.zip |
add option no_bad_drives (to workaround bugzilla #12766)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index a6eea966c..b9c63ba3e 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -115,7 +115,7 @@ sub get_hds { foreach my $hd (@drives) { $hd->{readonly} = $flags->{readonly}; - eval { partition_table::raw::test_for_bad_drives($hd) }; + eval { partition_table::raw::test_for_bad_drives($hd) if !$flags->{no_bad_drives} }; if (my $err = $@) { if ($err =~ /write error:/) { $hd->{readonly} = 1; |