diff options
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/update.php b/update.php index f17436185..ec6875971 100755 --- a/update.php +++ b/update.php @@ -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"); + } ?> |