summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Assistant/Threads/Transferrer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/Transferrer.hs b/Assistant/Threads/Transferrer.hs
index 2d01855b4..5bc47cfa6 100644
--- a/Assistant/Threads/Transferrer.hs
+++ b/Assistant/Threads/Transferrer.hs
@@ -41,7 +41,7 @@ shouldTransfer dstatus t = go =<< currentTransfers <$> getDaemonStatus dstatus
go m
| M.member t m = return False
| transferDirection t == Download =
- inAnnex $ transferKey t
+ not <$> inAnnex (transferKey t)
| otherwise = return True
{- Waits for any of the transfers in the map to complete. -}