1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-26 11:59:02 +02:00

Close lockfile handle before trying to unlink during update.

This commit is contained in:
tsimmons 2017-01-05 15:56:24 -06:00
parent 8b8568e9a3
commit 8231c039ed

View File

@ -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");
}
?>