From db4c830fc3fadf4805b87b4334b3fea888ec4abb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 30 Apr 2003 14:04:20 +0000 Subject: fix #3618 --- perl-install/security/level.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/security/level.pm') 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 -- cgit v1.2.1