summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-26 06:35:58 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-26 06:35:58 +0000
commit07e57fca9b7e378e22845938ccefc991d0b2939e (patch)
tree29206d17c6a85d367490feca197ae8c0bfc50df1 /perl-install
parent157d49ac630e60f470baea40982ee29ace0fe6f3 (diff)
downloaddrakx-07e57fca9b7e378e22845938ccefc991d0b2939e.tar
drakx-07e57fca9b7e378e22845938ccefc991d0b2939e.tar.gz
drakx-07e57fca9b7e378e22845938ccefc991d0b2939e.tar.bz2
drakx-07e57fca9b7e378e22845938ccefc991d0b2939e.tar.xz
drakx-07e57fca9b7e378e22845938ccefc991d0b2939e.zip
(set) silent a warning
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/security/level.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/security/level.pm b/perl-install/security/level.pm
index 5f109a4e5..bb3d9ddf2 100644
--- a/perl-install/security/level.pm
+++ b/perl-install/security/level.pm
@@ -41,8 +41,8 @@ sub set {
my @levelnames = ('none', 'standard', 'secure');
# use Standard level if specified level is out of range
$security = 1 if $security > $#levelnames;
- run_program::rooted($::prefix, 'msec', '-q', '-f', @levelnames[$security]);
- run_program::rooted($::prefix, 'msecperms', '-q', '-e', @levelnames[$security]);
+ run_program::rooted($::prefix, 'msec', '-q', '-f', $levelnames[$security]);
+ run_program::rooted($::prefix, 'msecperms', '-q', '-e', $levelnames[$security]);
}
sub level_choose {