改名
This commit is contained in:
@@ -51,6 +51,9 @@ trait Action
|
|||||||
private function _shutdown($server)
|
private function _shutdown($server)
|
||||||
{
|
{
|
||||||
$content = file_get_contents($this->getPidFile());
|
$content = file_get_contents($this->getPidFile());
|
||||||
|
if (!file_exists($content)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (empty($content)) {
|
if (empty($content)) {
|
||||||
$this->close($server);
|
$this->close($server);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user