fix warning

This commit is contained in:
Joey Hess 2015-11-16 15:37:27 -04:00
parent 262c37c16e
commit c670a0642c
Failed to extract signature

View file

@ -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