summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-20 14:17:07 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-20 14:17:07 +0000
commitf98177576ded96c74ca1ef9d04674737e4fee404 (patch)
tree92a85219e37e637062f83ef06b319b2fe4629105 /perl-install/standalone/draksec
parent16d0c766f22432b2445768b57c878a7e3d67a495 (diff)
downloaddrakx-f98177576ded96c74ca1ef9d04674737e4fee404.tar
drakx-f98177576ded96c74ca1ef9d04674737e4fee404.tar.gz
drakx-f98177576ded96c74ca1ef9d04674737e4fee404.tar.bz2
drakx-f98177576ded96c74ca1ef9d04674737e4fee404.tar.xz
drakx-f98177576ded96c74ca1ef9d04674737e4fee404.zip
perl_checker fixes
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-xperl-install/standalone/draksec4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index fe2794b52..3e98a56a3 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -33,8 +33,8 @@ use vars qw($MODE %options);
use security::main;
$MODE = 'basic';
-$0 =~ '/draksec-firewall$' and $MODE = 'firewall';
-$0 =~ '/draksec-perms$' and $MODE = 'perms';
+$0 =~ /draksec-firewall$/ and $MODE = 'firewall';
+$0 =~ /draksec-perms$/ and $MODE = 'perms';
/^-?-(\S+)$/ and $options{$1} = 1 foreach @ARGV;