mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Addresses warning that posix_kill takes long not string
This commit is contained in:
parent
2ae54583f0
commit
59e7b83892
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function killRedis($pid)
|
|||
|
||||
$pidFile = TEST_MISC . '/' . $matches[1];
|
||||
$pid = trim(file_get_contents($pidFile));
|
||||
posix_kill($pid, 9);
|
||||
posix_kill((int) $pid, 9);
|
||||
|
||||
if(is_file($pidFile)) {
|
||||
unlink($pidFile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue