]> 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>
Tue, 18 Dec 2018 13:27:56 +0000 (14:27 +0100)
bin/tests/system/stop.pl

index a7ece3dc380c310b8e09f8dfee480f869996cb9c..cf84d4e1a2511be21dc6d0c0cb1a076cefb6aabc 100644 (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 '');