diff --git a/HttpServer/Action.php b/HttpServer/Action.php index 6f0d8e2d..96b16c72 100644 --- a/HttpServer/Action.php +++ b/HttpServer/Action.php @@ -51,6 +51,9 @@ trait Action private function _shutdown($server) { $content = file_get_contents($this->getPidFile()); + if (!file_exists($content)) { + return; + } if (empty($content)) { $this->close($server); } else {