What about this patch? I thought it might be clever to use a lock directory, since mkdir is a pretty atomic function so there'll be no race condition (which could happen between file checking and file creation).
** Attachment added: "scrollkeeper-rebuilddb.diff" http://launchpadlibrarian.net/14629410/scrollkeeper-rebuilddb.diff -- avoid several instances running simultaneously https://bugs.launchpad.net/bugs/119614 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs