This is the mail archive of the
cygwin
mailing list for the Cygwin project.
flock: cannot set up timer: Invalid argument
- From: Daniel Abrahamsson <daniel dot abrahamsson at prover dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 18 Jan 2019 07:11:58 +0000
- Subject: flock: cannot set up timer: Invalid argument
Hi,
After upgrading from util-linux 2.25.2-2 to 2.32.1-1, flock started producing the following error message:
flock: cannot set up timer: Invalid argument
This is the test script I am using (which works under 2.25.2-2):
#!/bin/bash --login
(
echo "Waiting for file lock”
flock -x -w 300 200 || exit 1
echo “Success”
) 200>test.lock
Ideas?
//Daniel