summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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 d3a83a186..f46fa2482 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -127,7 +127,7 @@ sub vg_reduce {
my ($lvm_vg, $part_pv) = @_;
lvm_cmd('vgchange', '-a', 'n', $lvm_vg->{VG_name});
- lvm_cmd('vgreduce', $lvm_vg->{VG_name}, devices::make($part_pv->{device})) or die N("Physical volume %s is still in use.", $part_pv->{device});
+ lvm_cmd('vgreduce', $lvm_vg->{VG_name}, devices::make($part_pv->{device})) or die N("Physical volume %s is still in use", $part_pv->{device});
@{$lvm_vg->{disks}} = difference2($lvm_vg->{disks}, [ $part_pv ]);
delete $part_pv->{lvm};
set_isFormatted($part_pv, 0);