summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-05 13:29:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-05 13:29:39 +0000
commit88945cb8cd27a11295159cb85944d00180280d61 (patch)
treeb25ff270988310768753414580b88cedc496ca91 /perl-install/standalone/draksec
parent5889fd12bc1433d4500fc7349fe26bbc8a7a7548 (diff)
downloaddrakx-88945cb8cd27a11295159cb85944d00180280d61.tar
drakx-88945cb8cd27a11295159cb85944d00180280d61.tar.gz
drakx-88945cb8cd27a11295159cb85944d00180280d61.tar.bz2
drakx-88945cb8cd27a11295159cb85944d00180280d61.tar.xz
drakx-88945cb8cd27a11295159cb85944d00180280d61.zip
replace "kill USR1" with "kill 'USR1'" (and same for USR2)
(so that 'use strict' works)
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 9f4002e96..a14049097 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -18,9 +18,9 @@ $::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
my $in = 'interactive'->vnew('su', 'security');
begin:
-$::isEmbedded and kill USR2, $::CCPID;
+$::isEmbedded and kill 'USR2', $::CCPID;
security::main::main($prefix, $in);
-!$::isEmbedded ? $in->exit(0) : kill(USR1, $::CCPID);
+!$::isEmbedded ? $in->exit(0) : kill('USR1', $::CCPID);
goto begin;