summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
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);
}