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/mousedrake | |
parent | 5889fd12bc1433d4500fc7349fe26bbc8a7a7548 (diff) | |
download | drakx-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/mousedrake')
-rwxr-xr-x | perl-install/standalone/mousedrake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/mousedrake b/perl-install/standalone/mousedrake index 145be22ef..71841f882 100755 --- a/perl-install/standalone/mousedrake +++ b/perl-install/standalone/mousedrake @@ -28,7 +28,7 @@ if (!$::noauto) { $mouse = $probed_mouse if !$mouse->{XMOUSETYPE} || !$probed_mouse->{unsafe}; } -$::isEmbedded and kill USR2, $::CCPID; +$::isEmbedded and kill 'USR2', $::CCPID; if (!$mouse || !$::auto) { $mouse ||= mouse::fullname2mouse("serial|Generic 2 Button Mouse"); if ($::isEmbedded && $in->isa('interactive::gtk')) { @@ -44,7 +44,7 @@ if (!$mouse || !$::auto) { sub { join '|', map { translate($_) } split '\|', $_[0] }, [ mouse::fullnames ], $mouse->{type} . '|' . $mouse->{name}); - $name or $::isEmbedded ? do { kill(USR1, $::CCPID); goto begin } : $in->exit(0); + $name or $::isEmbedded ? do { kill('USR1', $::CCPID); goto begin } : $in->exit(0); my $mouse_chosen = mouse::fullname2mouse($name); $mouse = $mouse_chosen if !($mouse->{type} eq $mouse_chosen->{type} && $mouse->{name} eq $mouse_chosen->{name}); @@ -67,5 +67,5 @@ if (!$mouse || !$::auto) { mouse::write_conf($mouse, 1); system('service', 'gpm', 'restart') if -e '/var/lock/subsys/gpm'; -$::isEmbedded ? kill(USR1, $::CCPID) : $in->exit(0); +$::isEmbedded ? kill('USR1', $::CCPID) : $in->exit(0); goto begin; |