mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 08:35:35 +08:00
Fix type convert error
This commit is contained in:
@@ -95,7 +95,7 @@ class SignalListener
|
||||
$name = explode('.', $file);
|
||||
if (end($name) == 'pid' && $name[0] !== 'manager') {
|
||||
$pid = file_get_contents($file_path . '/' . $file);
|
||||
Process::kill($pid, SIGKILL);
|
||||
Process::kill((int) $pid, SIGKILL);
|
||||
}
|
||||
unlink($file_path . '/' . $file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user