update comment to current status

This commit is contained in:
Joey Hess 2021-12-03 18:41:51 -04:00
parent 9d3dce94f0
commit e464ffd641
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -279,7 +279,7 @@ waitedLock (Seconds timeout) lockfile displaymessage = do
giveup $ "Gave up waiting for pid lock file " ++ fromRawFilePath lockfile
-- | Use when the pid lock has already been taken by another thread of the
-- same process, or perhaps is in the process of being taken.
-- same process.
alreadyLocked :: MonadIO m => LockFile -> m LockHandle
alreadyLocked lockfile = liftIO $ do
abslockfile <- absPath lockfile