summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-15 19:44:29 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-15 19:44:29 +0000
commit405fee60d1e1137611dae9783ae370563c901967 (patch)
treee6178c064c6908a7aef5df4ade4454aed99def22 /perl-install/standalone/draksec
parent6e1499a56590006f2a11ab711804fee205311c36 (diff)
downloaddrakx-backup-do-not-use-405fee60d1e1137611dae9783ae370563c901967.tar
drakx-backup-do-not-use-405fee60d1e1137611dae9783ae370563c901967.tar.gz
drakx-backup-do-not-use-405fee60d1e1137611dae9783ae370563c901967.tar.bz2
drakx-backup-do-not-use-405fee60d1e1137611dae9783ae370563c901967.tar.xz
drakx-backup-do-not-use-405fee60d1e1137611dae9783ae370563c901967.zip
no_comment
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 8877501b5..753d61603 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -11,7 +11,7 @@ local $_ = join '', @ARGV;
/-h/ and die "usage: draksec [--expert]\n";
-$::expert = /--expert/;
+$::expert = /--expert/ || cat_("/etc/sysconfig/system") =~ /^TYPE=.*expert/;
$::isStandalone = 1;
my $in = vnew interactive('su');