diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-05-18 14:16:49 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-05-18 15:57:17 -0400 |
commit | 94a3e606fb31150c969d63790ec1ef870f413cc1 (patch) | |
tree | 566860a856e7d064e18de4c3a8a2e561377caf3c /Logs/Transfer.hs | |
parent | 6a318cf0c050f9fa7959874bf0eb8f1105ef0a4b (diff) |
lock pools to work around non-concurrency/composition safety of POSIX fcntl
Diffstat (limited to 'Logs/Transfer.hs')
-rw-r--r-- | Logs/Transfer.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/Transfer.hs b/Logs/Transfer.hs index 69b160331..244e9f375 100644 --- a/Logs/Transfer.hs +++ b/Logs/Transfer.hs @@ -140,7 +140,7 @@ checkTransfer t = do let lck = transferLockFile tfile v <- getLockStatus lck case v of - Just (pid, _) -> catchDefaultIO Nothing $ + Just pid -> catchDefaultIO Nothing $ readTransferInfoFile (Just pid) tfile Nothing -> do -- Take a non-blocking lock while deleting |