summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-08-26 06:44:18 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-08-26 06:44:18 +0000
commit40e3753973d527f5bff907d6539b576076d649ff (patch)
tree230a3091903d5530a8680af07c820bffc7ad9930 /perl-install/standalone/draksec
parent7311a6b47b7dd250453ad88e97cf437c0e4bf41a (diff)
downloaddrakx-40e3753973d527f5bff907d6539b576076d649ff.tar
drakx-40e3753973d527f5bff907d6539b576076d649ff.tar.gz
drakx-40e3753973d527f5bff907d6539b576076d649ff.tar.bz2
drakx-40e3753973d527f5bff907d6539b576076d649ff.tar.xz
drakx-40e3753973d527f5bff907d6539b576076d649ff.zip
fixed the detection of expert in /etc/sysconfig/system (was grepping on TYPE instead of CLASS)
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 8ca34947d..4dff6de7b 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/ || cat_("/etc/sysconfig/system") =~ /^TYPE="?expert/m; #"
+$::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
$::isStandalone = 1;
my $in = vnew interactive('su');