diff options
-rwxr-xr-x | update.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/update.php b/update.php index f17436185..65cf9f06e 100755 --- a/update.php +++ b/update.php @@ -405,5 +405,7 @@ PluginHost::getInstance()->run_commands($options); if (file_exists(LOCK_DIRECTORY . "/$lock_filename")) + if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') + fclose($lock_handle); unlink(LOCK_DIRECTORY . "/$lock_filename"); ?> |