Commit 8231c039 authored by tsimmons's avatar tsimmons

Close lockfile handle before trying to unlink during update.

parent 8b8568e9
......@@ -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");
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment