diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-19 23:46:30 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-19 23:46:30 +0000 |
commit | 7a21da20c34db394abcde18f08d106edc47ae8c2 (patch) | |
tree | 4c01519c1bf85cf0c02c810d7607ee7eb7e30138 /perl-install/lvm.pm | |
parent | cf502e8f3908835c936e78eda0cbe437a9bbb585 (diff) | |
download | drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.gz drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.bz2 drakx-backup-do-not-use-7a21da20c34db394abcde18f08d106edc47ae8c2.tar.xz drakx-backup-do-not-use-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.pm | 2 |
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}}) { |