From c4168c7269848944cc47d9c9cb736445b90d5209 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 12 Mar 2001 11:00:48 +0000 Subject: (hds): search for existing lvm in @hds *and* @lvms --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index fe5fcc0ab..950fb9ed4 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -92,7 +92,7 @@ sub hds { require lvm; foreach (@pvs) { my $name = lvm::get_vg($_) or next; - my ($lvm) = grep { $_->{LVMname} eq $name } @hds; + my ($lvm) = grep { $_->{LVMname} eq $name } (@hds, @lvms); if (!$lvm) { $lvm = bless { disks => [], LVMname => $name, level => 'linear' }, 'lvm'; lvm::update_size($lvm); -- cgit v1.2.1