diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-09-06 10:43:28 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-09-06 10:43:28 +0000 |
commit | 75aba4dcdd3e0a86cdb65382da385a8f9520d49a (patch) | |
tree | 4320e7ebd5740d3228ac9c8b59d93011e78c897e /perl-install | |
parent | 75080a68e71dbbfb648bdab7e0ac62ee41608cb9 (diff) | |
download | drakx-backup-do-not-use-75aba4dcdd3e0a86cdb65382da385a8f9520d49a.tar drakx-backup-do-not-use-75aba4dcdd3e0a86cdb65382da385a8f9520d49a.tar.gz drakx-backup-do-not-use-75aba4dcdd3e0a86cdb65382da385a8f9520d49a.tar.bz2 drakx-backup-do-not-use-75aba4dcdd3e0a86cdb65382da385a8f9520d49a.tar.xz drakx-backup-do-not-use-75aba4dcdd3e0a86cdb65382da385a8f9520d49a.zip |
safer
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/raid.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 8b0750ed7..d618a2275 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -193,9 +193,10 @@ sub get_existing { } else { fs::type::set_fs_type($md_part, 'ext3'); } - fs::type::set_isFormatted($md_part, to_bool($type->{fs_type})); + my $fs_type = $type && $type->{fs_type}; + fs::type::set_isFormatted($md_part, to_bool($fs_type)); - log::l("RAID: found $md (raid $md_part->{level}) type $type->{fs_type} with parts $raw_part->{devices}"); + log::l("RAID: found $md (raid $md_part->{level}) type $fs_type with parts $raw_part->{devices}"); } $raids; } |