summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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');
}