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; }