mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:25:55 +00:00
Close lockfile handle before trying to unlink during update.
This commit is contained in:
@@ -404,6 +404,8 @@
|
|||||||
|
|
||||||
PluginHost::getInstance()->run_commands($options);
|
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");
|
unlink(LOCK_DIRECTORY . "/$lock_filename");
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user