Update imapsync_cron.pl

Second unlocking lock_file failed because it was already unlocked.
master
hunter-nl 2019-05-04 13:07:23 +02:00 committed by GitHub
parent 99eb61a449
commit e59417ed78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

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