diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-11-08 10:04:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-11-08 10:04:04 +0000 |
commit | ac0cb53525eba687d1dc23d9fe98c7b58f4dfded (patch) | |
tree | 6af6863d266c4c9443dfaf4ab5e4e0750e51b3ca | |
parent | 02ee2c2320c8cc9d4e4009425fde5dd1456c77f0 (diff) | |
download | drakx-ac0cb53525eba687d1dc23d9fe98c7b58f4dfded.tar drakx-ac0cb53525eba687d1dc23d9fe98c7b58f4dfded.tar.gz drakx-ac0cb53525eba687d1dc23d9fe98c7b58f4dfded.tar.bz2 drakx-ac0cb53525eba687d1dc23d9fe98c7b58f4dfded.tar.xz drakx-ac0cb53525eba687d1dc23d9fe98c7b58f4dfded.zip |
log is mixed with valid data (bugzilla #19654)
-rw-r--r-- | perl-install/fs/dmraid.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm index 4b317ef5e..954d727f7 100644 --- a/perl-install/fs/dmraid.pm +++ b/perl-install/fs/dmraid.pm @@ -46,7 +46,7 @@ sub _raid_devices_raw() { chomp; log::l("got: $_"); my %l; @l{qw(pv format vg level status size)} = split(':'); - \%l; + if_(defined $l{size}, \%l); } call_dmraid('-ccr'); } @@ -67,7 +67,7 @@ sub _sets_raw() { chomp; log::l("got: $_"); my %l; @l{qw(name size stride level status subsets devs spares)} = split(':'); - \%l; + if_(defined $l{spares}, \%l); } call_dmraid('-ccs'); } |