diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-30 14:04:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-30 14:04:20 +0000 |
commit | db4c830fc3fadf4805b87b4334b3fea888ec4abb (patch) | |
tree | eff49d2e8b6d1c954d833e8dc9a2d8ba7048cc7d | |
parent | 140383ca483b3d4773a7af31a94d6439dec68e4b (diff) | |
download | drakx-backup-do-not-use-db4c830fc3fadf4805b87b4334b3fea888ec4abb.tar drakx-backup-do-not-use-db4c830fc3fadf4805b87b4334b3fea888ec4abb.tar.gz drakx-backup-do-not-use-db4c830fc3fadf4805b87b4334b3fea888ec4abb.tar.bz2 drakx-backup-do-not-use-db4c830fc3fadf4805b87b4334b3fea888ec4abb.tar.xz drakx-backup-do-not-use-db4c830fc3fadf4805b87b4334b3fea888ec4abb.zip |
fix #3618
-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 |