diff options
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index afff117ad..5b700d387 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -90,7 +90,10 @@ sub raids { my ($hds) = @_; my @parts = get_fstab(@$hds); - (grep { isRawRAID($_) } @parts) && detect_devices::raidAutoStart() or return []; + { + my @l = grep { isRawRAID($_) } @parts or return []; + detect_devices::raidAutoStart(@l); + } fs::get_major_minor(@parts); my %devname2part = map { $_->{dev} => { %$_, device => $_->{dev} } } read_partitions(); |