Commit 9bf37f4e authored by Evan Hunt's avatar Evan Hunt
Browse files

detect crash on shutdown in stop.pl

parent 7b86c01d
Pipeline #9306 passed with stages
in 10 minutes and 52 seconds
......@@ -236,7 +236,12 @@ sub clean_pid_file {
return unless defined($pid);
return if (send_signal(0, $pid) == 0);
# 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;
return;
}
return $server;
}
......
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