modify
This commit is contained in:
@@ -38,7 +38,7 @@ class Shutdown extends Component
|
|||||||
{
|
{
|
||||||
clearstatcache(storage());
|
clearstatcache(storage());
|
||||||
exec('ls -alh /.dockerenv', $output, $cod);
|
exec('ls -alh /.dockerenv', $output, $cod);
|
||||||
if ($cod !== 0 && empty($output)) {
|
if ($cod === 0 && !empty($output)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user