This commit is contained in:
as2252258@163.com
2021-03-28 17:03:00 +08:00
parent 64b247ecbd
commit d6f8b55d33
+1 -1
View File
@@ -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;
}