mirror of
https://github.com/php/php-src.git
synced 2026-10-28 17:56:50 +08:00
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5: Fix GH-24695: FPM tester sends signal to process group when PID is missing (#24698)
This commit is contained in:
1 file changed
+3
@@ -1124,6 +1124,9 @@ class Tester
|
||||
{
|
||||
if (is_null($pid)) {
|
||||
$pid = $this->getPid();
|
||||
if ($pid === 0) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
$cmd = "kill -$signal $pid";
|
||||
$this->trace('Sending signal using command', $cmd, true);
|
||||
|
||||
Reference in new issue
Block a user