Commit 808dac07 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Properly detect msys/msys2 environment in the stop.pl script.

parent 8b10b07d
Pipeline #8110 passed with stages
in 10 minutes and 35 seconds
......@@ -188,7 +188,7 @@ sub send_signal {
my $result = 0;
if ($^O eq 'cygwin') {
if ($^O eq 'cygwin' || $^O eq 'msys') {
my $killout = `/bin/kill -f -$signal $pid 2>&1`;
chomp($killout);
$result = 1 if ($killout eq '');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment