- fixed some left-overs when using safe_exec which have not been escaped correctly, fixes #136

This commit is contained in:
Michael Kaufmann (d00p)
2010-04-12 05:49:16 +00:00
parent b11d0c5cd9
commit 0d3df6e1fe
4 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ while($fName = readdir($lockDirHandle))
// Check if cron is running or has died.
$check_pid = substr(strstr($fName, "-"), 1);
system("kill -CHLD " . $check_pid . " 1> /dev/null 2> /dev/null", $check_pid_return);
system("kill -CHLD " . (int)$check_pid . " 1> /dev/null 2> /dev/null", $check_pid_return);
if($check_pid_return == 1)
{