summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/draksec2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index ca7337c81..a04202f48 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -30,11 +30,13 @@ use security::msec;
local $_ = join '', @ARGV;
+
/-h/ and die "usage: draksec [--expert]\n";
$::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
+$::isStandalone=1;
my $in = 'interactive'->vnew('su', 'security');
begin: