This commit is contained in:
2021-04-19 14:48:06 +08:00
parent 13d53115cc
commit 31fdb9ec7b
2 changed files with 3 additions and 4 deletions
+3 -2
View File
@@ -47,8 +47,9 @@ class Shutdown extends Component
public function shutdown(): void
{
clearstatcache(storage());
exec('ls -alh /.dockerenv', $output, $cod);
if ($cod === 0 && !empty($output)) {
$output = shell_exec('ls -alh /.dockerenv');
var_dump($output);
if (!empty($output)) {
return;
}