diff options
Diffstat (limited to 'perl-install/security/level.pm')
-rw-r--r-- | perl-install/security/level.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/security/level.pm b/perl-install/security/level.pm index cc4dac187..2c5d299f4 100644 --- a/perl-install/security/level.pm +++ b/perl-install/security/level.pm @@ -20,7 +20,7 @@ sub to_string { +{ level_list() }->{$_[0]} } sub from_string { +{ reverse level_list() }->{$_[0]} || 2 } sub get_string() { to_string(get() || 2) } -sub get_common_list() { map { to_string($_) } (2, 3, 4) } +sub get_common_list() { map { to_string($_) } (1, 2, 3, 4, 5) } sub get() { cat_("$::prefix/etc/profile") =~ /export SECURE_LEVEL=(\d+)/ && $1 || #- 8.0 msec |