Close lockfile handle before trying to unlink during update.

master
tsimmons 8 years ago
parent 8b8568e9a3
commit 8231c039ed

@ -404,6 +404,8 @@
PluginHost::getInstance()->run_commands($options);
if (file_exists(LOCK_DIRECTORY . "/$lock_filename"))
if (file_exists(LOCK_DIRECTORY . "/$lock_filename")) {
fclose($lock_handle);
unlink(LOCK_DIRECTORY . "/$lock_filename");
}
?>

Loading…
Cancel
Save