Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
no need to use negative PIDs for killing the JVM
  • Loading branch information
moritz committed Oct 31, 2013
1 parent bc2d62e commit 92be771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/run-rakudo-jvm-evalserver
Expand Up @@ -15,9 +15,9 @@ my $token = 'p6eval-token';
my $pid = launch();
my $version = read_file($version_file);

$SIG{INT} = sub { kill -9, $pid };
$SIG{INT} = sub { kill 9, $pid };
$SIG{HUP} = sub {
kill -9, $pid;
kill 9, $pid;
exec $^X, $0, @ARGV;
exit;
};
Expand Down

0 comments on commit 92be771

Please sign in to comment.