Skip to content

Commit d8caef3

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Fix GH-24695: FPM tester sends signal to process group when PID is missing (#24698)
2 parents 71e8293 + 810ce5e commit d8caef3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎sapi/fpm/tests/tester.inc‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,9 @@ class Tester
11241124
{
11251125
if (is_null($pid)) {
11261126
$pid = $this->getPid();
1127+
if ($pid === 0) {
1128+
return '';
1129+
}
11271130
}
11281131
$cmd = "kill -$signal $pid";
11291132
$this->trace('Sending signal using command', $cmd, true);

0 commit comments

Comments
 (0)