diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-12 11:00:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-12 11:00:48 +0000 |
commit | c4168c7269848944cc47d9c9cb736445b90d5209 (patch) | |
tree | daae191750bd2d68488dd3b396c9798d9006f986 /perl-install | |
parent | 2099655a347a02ea4b3280137d64655b7d49eb38 (diff) | |
download | drakx-c4168c7269848944cc47d9c9cb736445b90d5209.tar drakx-c4168c7269848944cc47d9c9cb736445b90d5209.tar.gz drakx-c4168c7269848944cc47d9c9cb736445b90d5209.tar.bz2 drakx-c4168c7269848944cc47d9c9cb736445b90d5209.tar.xz drakx-c4168c7269848944cc47d9c9cb736445b90d5209.zip |
(hds): search for existing lvm in @hds *and* @lvms
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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); |