From 40e3753973d527f5bff907d6539b576076d649ff Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Sat, 26 Aug 2000 06:44:18 +0000 Subject: fixed the detection of expert in /etc/sysconfig/system (was grepping on TYPE instead of CLASS) --- perl-install/standalone/draksec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') 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'); -- cgit v1.2.1