diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-05 13:29:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-05 13:29:39 +0000 |
commit | 88945cb8cd27a11295159cb85944d00180280d61 (patch) | |
tree | b25ff270988310768753414580b88cedc496ca91 /perl-install/standalone/draksec | |
parent | 5889fd12bc1433d4500fc7349fe26bbc8a7a7548 (diff) | |
download | drakx-backup-do-not-use-88945cb8cd27a11295159cb85944d00180280d61.tar drakx-backup-do-not-use-88945cb8cd27a11295159cb85944d00180280d61.tar.gz drakx-backup-do-not-use-88945cb8cd27a11295159cb85944d00180280d61.tar.bz2 drakx-backup-do-not-use-88945cb8cd27a11295159cb85944d00180280d61.tar.xz drakx-backup-do-not-use-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-x | perl-install/standalone/draksec | 4 |
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; |