mirror of
https://github.com/hybula/lookingglass.git
synced 2024-09-21 05:20:06 +00:00
Fix #12
Uncaught TypeError: posix_kill(): Argument #1 ($process_id) must be of type int, string given
This commit is contained in:
parent
567b815e84
commit
f31f7e4510
|
@ -345,7 +345,7 @@ class LookingGlass
|
||||||
// kill remaining processes
|
// kill remaining processes
|
||||||
foreach ($pids as $pid) {
|
foreach ($pids as $pid) {
|
||||||
if (is_numeric($pid)) {
|
if (is_numeric($pid)) {
|
||||||
posix_kill($pid, 9);
|
posix_kill((int) $pid, 9);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue