add missing checkSaneLock wrapper for pidlocks
This commit is contained in:
parent
e2b4861bff
commit
262c37c16e
2 changed files with 7 additions and 2 deletions
|
@ -96,7 +96,7 @@ runTransfer' ignorelock t file shouldretry transferobserver transferaction = do
|
|||
r <- tryLockExclusive (Just mode) lck
|
||||
case r of
|
||||
Nothing -> return (Nothing, True)
|
||||
Just lockhandle -> ifM (liftIO $ checkSaneLock lck lockhandle)
|
||||
Just lockhandle -> ifM (checkSaneLock lck lockhandle)
|
||||
( do
|
||||
void $ liftIO $ tryIO $
|
||||
writeTransferInfoFile info tfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue