]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Properly detect msys/msys2 environment in the stop.pl script.
authorOndřej Surý <ondrej@sury.org>
Tue, 18 Dec 2018 12:20:10 +0000 (13:20 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 19 Dec 2018 20:31:41 +0000 (21:31 +0100)
(cherry picked from commit 808dac07601dcd8a3c17a28a445fe54caf4385ba)

bin/tests/system/stop.pl

index a4afdd98bff96daf4dfc52395ff1d7b795093446..8e1e1f83a71fc04b36ec1b057793d25398e9194a 100644 (file)
@@ -199,7 +199,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 '');