aboutsummaryrefslogtreecommitdiff
path: root/Annex/Transfer.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-12 20:11:23 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-12 20:11:23 -0400
commit6847c7edc5224aaaa62b68d7bca0a4e5c0297fbe (patch)
tree4e875b1e6a9feab1136f3e4b0eeea35797d7c50f /Annex/Transfer.hs
parent63bca9b3472a393c7ac5625f6b09d53ca9ab17fd (diff)
Stale transfer lock and info files will be cleaned up automatically when get/unused/info commands are run.
Deleting lock files is tricky, tricky stuff. I think I got it right!
Diffstat (limited to 'Annex/Transfer.hs')
-rw-r--r--Annex/Transfer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Transfer.hs b/Annex/Transfer.hs
index d8f19eb8d..2511ae436 100644
--- a/Annex/Transfer.hs
+++ b/Annex/Transfer.hs
@@ -71,7 +71,7 @@ runTransfer' ignorelock t file shouldretry transferobserver transferaction = do
(lck, inprogress) <- liftIO $ prep tfile mode info
if inprogress && not ignorelock
then do
- showNote "transfer already in progress"
+ showNote "transfer already in progress, or unable to take transfer lock"
return False
else do
ok <- retry info metervar $ transferaction meter