Update imapsync_cron.pl

Second unlocking lock_file failed because it was already unlocked.
This commit is contained in:
hunter-nl
2019-05-04 13:07:23 +02:00
committed by GitHub
parent 99eb61a449
commit e59417ed78

View File

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