disable the check for crash on shutdown when running under cygwin

This commit is contained in:
Evan Hunt
2019-01-31 21:35:08 -08:00
parent acf42a758a
commit 449842e1ce

View File

@@ -238,8 +238,12 @@ sub clean_pid_file {
# If we're here, the PID file hasn't been cleaned up yet
if (send_signal(0, $pid) == 0) {
print "I:$test:$server crashed on shutdown\n";
$errors = 1;
# XXX: on windows this is likely to result in a
# false positive, so don't bother reporting the error.
if ($ENV{'CYGWIN'} eq "") {
print "I:$test:$server crashed on shutdown\n";
$errors = 1;
}
return;
}