summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-11 15:12:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-11 15:12:54 +0000
commitb231c038ef2bcba38afdf550682d691af63ce094 (patch)
tree0db48221927a842dc4e9db41bd42cad332b857b8 /perl-install
parent4b27f7dab309095d9e001b4a2ea960051169bcd1 (diff)
downloaddrakx-b231c038ef2bcba38afdf550682d691af63ce094.tar
drakx-b231c038ef2bcba38afdf550682d691af63ce094.tar.gz
drakx-b231c038ef2bcba38afdf550682d691af63ce094.tar.bz2
drakx-b231c038ef2bcba38afdf550682d691af63ce094.tar.xz
drakx-b231c038ef2bcba38afdf550682d691af63ce094.zip
fix typo (fix bug #4239)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lvm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 9b9ce8d58..00cf7a27b 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -129,7 +129,7 @@ sub lv_create {
my ($lvm, $lv) = @_;
my $list = $lvm->{primary}{normal} ||= [];
$lv->{lv_name} ||= 1 + max(map { if_($_->{device} =~ /(\d+)$/, $1) } @$list);
- $lv->{device} = "$lvm->{VG_name}/$lvm->{lv_name}";
+ $lv->{device} = "$lvm->{VG_name}/$lv->{lv_name}";
run_or_die('lvcreate', '--size', int($lv->{size} / 2) . 'k', '-n', $lv->{lv_name}, $lvm->{VG_name});
$lv->{size} = get_lv_size($lv->{device}); #- the created size is smaller than asked size
$lv->{notFormatted} = 1;