改名
This commit is contained in:
@@ -48,8 +48,7 @@ class Shutdown extends Component
|
||||
{
|
||||
clearstatcache(storage());
|
||||
$output = shell_exec('[ -f /.dockerenv ] && echo yes || echo no');
|
||||
var_dump($output);
|
||||
if ($output === 'yes') {
|
||||
if (trim($output) === 'yes') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user