diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-12 11:26:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-12 11:26:15 +0000 |
commit | ab822df75cf6884051525b61dd3e21f2254994b4 (patch) | |
tree | b7bdbb354bc01089ab9f410885e2d81fdb673f3f /perl-install/diskdrake | |
parent | 9836f3fe7d2fef5e86015234ebb223afe7ddb844 (diff) | |
download | drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.gz drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.bz2 drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.xz drakx-ab822df75cf6884051525b61dd3e21f2254994b4.zip |
perl_checker compliance ("ref" now need parentheses in many case)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 2656f06b6..82a49bd30 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -790,7 +790,7 @@ sub Add2LVM { write_partitions($in, $_) or return foreach isRAID($part) ? @{$all_hds->{hds}} : $hd; my $lvm = $in->ask_from_listf_('', N("Choose an existing LVM to add to"), - sub { ref $_[0] ? $_[0]{VG_name} : $_[0] }, + sub { ref($_[0]) ? $_[0]{VG_name} : $_[0] }, [ @$lvms, N_("new") ]) or return; require lvm; if (!ref $lvm) { |