diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/raid.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm index 092bd9441..4a113f5de 100644 --- a/perl-install/raid.pm +++ b/perl-install/raid.pm @@ -169,6 +169,7 @@ sub get_existing { foreach my $md (active_mds()) { my $conf = parse_mdadm_conf(scalar run_program::get_stdout('mdadm', '--detail', '--brief', devices::make($md))); + @{$conf->{ARRAY}} or next; @{$conf->{ARRAY}} == 1 or internal_error("too many answers"); my $raw_part = $conf->{ARRAY}[0]; |