summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-11-08 10:04:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-11-08 10:04:04 +0000
commitac0cb53525eba687d1dc23d9fe98c7b58f4dfded (patch)
tree6af6863d266c4c9443dfaf4ab5e4e0750e51b3ca
parent02ee2c2320c8cc9d4e4009425fde5dd1456c77f0 (diff)
downloaddrakx-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.pm4
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');
}