summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-14 14:10:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-14 14:10:58 +0000
commit6cbb31b6b916dc7952da7ca05b9feac5b139707a (patch)
treea63ee5baad543e59aba828628973d6cf8db155a6 /perl-install/standalone/draksec
parentc15a46344c522ee0726ee8855f98181c008cb414 (diff)
downloaddrakx-backup-do-not-use-6cbb31b6b916dc7952da7ca05b9feac5b139707a.tar
drakx-backup-do-not-use-6cbb31b6b916dc7952da7ca05b9feac5b139707a.tar.gz
drakx-backup-do-not-use-6cbb31b6b916dc7952da7ca05b9feac5b139707a.tar.bz2
drakx-backup-do-not-use-6cbb31b6b916dc7952da7ca05b9feac5b139707a.tar.xz
drakx-backup-do-not-use-6cbb31b6b916dc7952da7ca05b9feac5b139707a.zip
cleanup security::level, hopefully the **** draksec still works
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index d82a9d361..8ec8d4dda 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -213,7 +213,7 @@ my $bok = gtksignal_connect(new Gtk2::Button(N("Ok")),
if ($seclevel_value ne security::level::get_string()) {
$w = wait_msg(N("Please wait, setting security level..."));
log::explanations("Setting security level to $seclevel_value");
- security::level::set($seclevel_value);
+ security::level::set(security::level::from_string($seclevel_value));
remove_wait_msg($w);
}