summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-01 16:22:47 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-01 16:22:47 -0400
commit7133841354733d05ec063dfe789631dff13c425b (patch)
tree1284667a3b4c30061c3e4769032c6a751fe29253 /Annex
parentec56134e3d110a27ec6e5cedb60d9393ab7d187a (diff)
clarify
Diffstat (limited to 'Annex')
-rw-r--r--Annex/LockPool/PosixOrPid.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/LockPool/PosixOrPid.hs b/Annex/LockPool/PosixOrPid.hs
index 74ac3f178..c788f6fa0 100644
--- a/Annex/LockPool/PosixOrPid.hs
+++ b/Annex/LockPool/PosixOrPid.hs
@@ -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