This commit is contained in:
2020-09-09 01:01:09 +08:00
parent 1ac4b8f2c3
commit 9ec911e96e
+1 -1
View File
@@ -56,7 +56,7 @@ trait Action
if (empty($pathId)) {
$this->close($server);
} else {
exec('ps -ef 15132 | grep 15132', $output);
exec("ps -ef $pathId | grep $pathId", $output);
if (!empty($output)) {
exec("kill -TERM $pathId");
}