summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-12 11:00:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-12 11:00:48 +0000
commitc4168c7269848944cc47d9c9cb736445b90d5209 (patch)
treedaae191750bd2d68488dd3b396c9798d9006f986
parent2099655a347a02ea4b3280137d64655b7d49eb38 (diff)
downloaddrakx-backup-do-not-use-c4168c7269848944cc47d9c9cb736445b90d5209.tar
drakx-backup-do-not-use-c4168c7269848944cc47d9c9cb736445b90d5209.tar.gz
drakx-backup-do-not-use-c4168c7269848944cc47d9c9cb736445b90d5209.tar.bz2
drakx-backup-do-not-use-c4168c7269848944cc47d9c9cb736445b90d5209.tar.xz
drakx-backup-do-not-use-c4168c7269848944cc47d9c9cb736445b90d5209.zip
(hds): search for existing lvm in @hds *and* @lvms
-rw-r--r--perl-install/fsedit.pm2
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);