diff --git a/sapi/fpm/tests/tester.inc b/sapi/fpm/tests/tester.inc index 8e67d17430a6..c98252292489 100644 --- a/sapi/fpm/tests/tester.inc +++ b/sapi/fpm/tests/tester.inc @@ -1119,6 +1119,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);