This commit is contained in:
2021-03-29 10:45:41 +08:00
parent ef9a10d7ff
commit baa05a2173
+1 -1
View File
@@ -93,7 +93,7 @@ class Shutdown extends Component
}
$shell = 'ps -eo pid,cmd,state | grep %d | grep -v grep';
exec(sprintf($shell, $content), $output, $code);
var_dump($output, $code);
var_dump($content, $output, $code);
if (empty($output)) {
return false;
}