From e59417ed781e584296a386cd2eb3eb1d88aee330 Mon Sep 17 00:00:00 2001 From: hunter-nl Date: Sat, 4 May 2019 13:07:23 +0200 Subject: [PATCH] Update imapsync_cron.pl Second unlocking lock_file failed because it was already unlocked. --- data/Dockerfiles/dovecot/imapsync_cron.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/data/Dockerfiles/dovecot/imapsync_cron.pl b/data/Dockerfiles/dovecot/imapsync_cron.pl index cff2852b..c583e810 100755 --- a/data/Dockerfiles/dovecot/imapsync_cron.pl +++ b/data/Dockerfiles/dovecot/imapsync_cron.pl @@ -146,7 +146,6 @@ while ($row = $sth->fetchrow_arrayref()) { $update = $dbh->prepare("UPDATE imapsync SET last_run = NOW(), is_running = 0 WHERE id = ?"); $update->bind_param( 1, ${id} ); $update->execute(); - $lockmgr->unlock($lock_file); };