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

This commit is contained in:
Ondřej Surý
2018-12-18 13:20:10 +01:00
parent 8b10b07d20
commit 808dac0760

View File

@@ -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 '');