fix warning
This commit is contained in:
parent
262c37c16e
commit
c670a0642c
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ checkLocked lockfile = conv <$> getLockStatus lockfile
|
|||
-- Checks that the lock file still exists, and is the same file that was
|
||||
-- locked to get the LockHandle.
|
||||
checkSaneLock :: LockFile -> LockHandle -> IO Bool
|
||||
checkSaneLock lockfile (LockHandle f st _) =
|
||||
checkSaneLock lockfile (LockHandle _ st _) =
|
||||
go =<< catchMaybeIO (getFileStatus lockfile)
|
||||
where
|
||||
go Nothing = return False
|
||||
|
|
Loading…
Reference in a new issue