From b1c883d26eb11093d3e169951e394347adb56c31 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Fri, 16 Apr 2021 00:28:53 +0800 Subject: [PATCH] modify --- HttpServer/Shutdown.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index cf01d194..86bf34fa 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -47,10 +47,10 @@ class Shutdown extends Component public function shutdown(): void { clearstatcache(storage()); - exec('ls -alh /.dockerenv', $output, $cod); - if ($cod === 0 && !empty($output)) { - return; - } +// exec('ls -alh /.dockerenv', $output, $cod); +// if ($cod === 0 && !empty($output)) { +// return; +// } $master_pid = Server()->setting['pid_file'] ?? PID_PATH; if (file_exists($master_pid)) {