From d6f8b55d338f138298b15a4ee5b191ef0d7bfe32 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 28 Mar 2021 17:03:00 +0800 Subject: [PATCH] modify --- HttpServer/Shutdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Shutdown.php b/HttpServer/Shutdown.php index ce333643..d7e16672 100644 --- a/HttpServer/Shutdown.php +++ b/HttpServer/Shutdown.php @@ -38,7 +38,7 @@ class Shutdown extends Component { clearstatcache(storage()); exec('ls -alh /.dockerenv', $output, $cod); - if ($cod !== 0 && empty($output)) { + if ($cod === 0 && !empty($output)) { return; }