This commit is contained in:
2021-03-29 10:47:35 +08:00
parent 19006d2bc5
commit ec375d5d74
+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, intval($content)), $output, $code);
var_dump($content, $output, $code);
var_dump($content, $output, sprintf($shell, intval($content)));
if (empty($output)) {
return false;
}