https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15529

--- Comment #42 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
+my $instancemessagequeuefile = $logdir . "/messagequeue.lock";
+open(FOO, ">> $instancemessagequeuefile") or die "Cannot write to
$instancemessagequeuefile: $!";
As Martin already said, the logdir might not be the best candidate. Also look
at locking in rebuild_zebra.pl. Note that it tries three places and continues
even if the system does not facilitate locking.
I see in the follow-ups that you change it. Fine. You now copy locking from
rebuild_zebra. Please consolidate: move it to a module.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to