Suggestion: Create file if it does not exist
Closed this issue · 0 comments
joshuakb2 commented
The flock utility in the util-linux-ng
, when given a file path, calls open
with file mode 666 to create the file if it does not exist.
I can't think of a reason why we would not want to create the lockfile if it does not exist, and this behavior would be more consistent with user expectation (my expectation, anyway).