Control: tags -1 + confirmed Control retitle -1 improve locking mechanism thanks
the patch/recipe below is still needed. can pick up post bookworm On Thu, 28 Sep 2017 09:56:42 +0200 matthijs <matth...@stdin.nl> wrote: > Turns out the locking is actually ineffective ( > Doing some tests shows that the cause of this problem are these lines [1]: > > lockfile-create --retry 1 "$LOCKFILE" > /dev/null 2>&1 > > if [ $? -eq 1 ]; then > # Locked, error and quit > > This only treats an exit code of 1 as an error, while lockfile-create > actually returns "4" in this case [2]. Changing this to `$? -ne 0`, or > even more compact: > > if ! lockfile-create --retry 1 "$LOCKFILE" > /dev/null 2>&1; then > > will fix this problem.