This commit is contained in:
Joey Hess 2016-03-01 16:22:47 -04:00
parent 6f4de0c201
commit 84de8bd2d0
Failed to extract signature

View file

@ -94,6 +94,6 @@ tryPidLock m f posixlock = liftIO . go =<< pidLockFile
-- The posix lock file is created even when using pid locks, in order to
-- avoid complicating any code that might expect to be able to see that
-- lock file.
-- lock file. But, it's not locked.
dummyPosixLock :: Maybe FileMode -> LockFile -> IO ()
dummyPosixLock m f = closeFd =<< openLockFile ReadLock m f