This commit is contained in:
2021-04-19 14:54:04 +08:00
parent 2095c0d579
commit d6720f0e1e
+1
View File
@@ -48,6 +48,7 @@ class Shutdown extends Component
{
clearstatcache(storage());
$output = shell_exec('[ -f /.dockerenv ] && echo yes || echo no');
var_dump($output);
if ($output === 'yes') {
return;
}