改名
This commit is contained in:
@@ -56,7 +56,7 @@ trait Action
|
|||||||
if (empty($pathId)) {
|
if (empty($pathId)) {
|
||||||
$this->close($server);
|
$this->close($server);
|
||||||
} else {
|
} else {
|
||||||
exec('ps -ef 15132 | grep 15132', $output);
|
exec("ps -ef $pathId | grep $pathId", $output);
|
||||||
if (!empty($output)) {
|
if (!empty($output)) {
|
||||||
exec("kill -TERM $pathId");
|
exec("kill -TERM $pathId");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user