diff options
author | Phil Sutter <phil@nwl.cc> | 2018-01-15 16:27:31 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-01-17 03:32:37 +0100 |
commit | 068ba959c09b1f3697ccc93dc0ab0b2557719776 (patch) | |
tree | cd5cb73b511c26cb5df4b91005a8557d31e4e743 /include | |
parent | 6a826591878db3fa9e2a94b87a3d5edd8e0fc442 (diff) |
Fix locking if LOCKDIR does not exist
The previous conversion to using flock() missed a crucial bit of code
which tries to create LOCKDIR once in case opening the lock failed -
This patch reestablishes the old behaviour.
Reported-by: Tangchen (UVP) <tang.chen@huawei.com>
Fixes: 6a826591878db ("Use flock() for --concurrent option")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions