diff --git a/contrib/export-attachments/export-attachments.php b/contrib/export-attachments/export-attachments.php index dc347e0e..11a8a2a1 100644 --- a/contrib/export-attachments/export-attachments.php +++ b/contrib/export-attachments/export-attachments.php @@ -1,5 +1,8 @@ update_checkpoint($i); + +// Release lock +flock($fp, LOCK_UN); +fclose($fp);