summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-19 23:46:30 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-19 23:46:30 +0000
commit7a21da20c34db394abcde18f08d106edc47ae8c2 (patch)
tree4c01519c1bf85cf0c02c810d7607ee7eb7e30138 /perl-install/lvm.pm
parentcf502e8f3908835c936e78eda0cbe437a9bbb585 (diff)
downloaddrakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar
drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.gz
drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.bz2
drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.xz
drakx-7a21da20c34db394abcde18f08d106edc47ae8c2.zip
to workaround perl bug removing UTF8 flag when passing scalars to die's, pass
a scalar-ref. but we need to de-ref, so it might break many things :). let's make a prayer :).
Diffstat (limited to 'perl-install/lvm.pm')
-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 4ae8e4ff2..93209cca8 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -106,7 +106,7 @@ sub vg_add {
sub vg_destroy {
my ($lvm) = @_;
- is_empty_array_ref($lvm->{primary}{normal}) or die N("Remove the logical volumes first\n");
+ is_empty_array_ref($lvm->{primary}{normal}) or die \N("Remove the logical volumes first\n");
run('vgchange', '-a', 'n', $lvm->{VG_name});
run_or_die('vgremove', $lvm->{VG_name});
foreach (@{$lvm->{disks}}) {