@ -2235,7 +2235,8 @@
function make_lockfile($filename) {
$fp = fopen(LOCK_DIRECTORY . "/$filename", "w");
if (flock($fp, LOCK_EX | LOCK_NB)) {
fwrite($fp, posix_getpid() . "\n");
return $fp;
} else {
return false;