summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/XFdrake
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/XFdrake
parent5889fd12bc1433d4500fc7349fe26bbc8a7a7548 (diff)
downloaddrakx-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/XFdrake')
-rwxr-xr-xperl-install/standalone/XFdrake8
1 files changed, 3 insertions, 5 deletions
diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake
index 08414be56..fdc0250e5 100755
--- a/perl-install/standalone/XFdrake
+++ b/perl-install/standalone/XFdrake
@@ -35,7 +35,7 @@ my ($configure_this) = grep { !/^-/ } @ARGV;
$configure_this ||= 'everything';
/-h/ || $configure_this !~ /^(resolution|monitor|everything|auto_install)/ and die <<'EOF';
-usage: XFdrake [--expert] [--noauto] [--skiptest] [--auto] [everything]
+usage: XFdrake [--expert] [--noauto] [--auto] [everything]
XFdrake [--noauto] monitor
XFdrake resolution
EOF
@@ -47,11 +47,9 @@ $::testing = /-testing/;
begin:
{
- $X->{skiptest} = /-skiptest/;
-
my $in = 'interactive'->vnew('su', 'X');
- $::isEmbedded and kill USR2, $::CCPID;
+ $::isEmbedded and kill 'USR2', $::CCPID;
my $rc = do {
if ($configure_this eq 'everything') {
@@ -79,7 +77,7 @@ begin:
$in->exit(0) if !$::isEmbedded;
- kill USR1, $::CCPID;
+ kill 'USR1', $::CCPID;
goto begin;
}