summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 14:58:45 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 14:58:45 -0400
commite37bfb23868d4c2c1ba56e1b3c8cf6ac8290575d (patch)
treeb490284ad418393ea86adb5ac901b7dc10598cfb
parent1c9bc692d1c2b23555b95f127178900772db4e37 (diff)
fix windows build
-rw-r--r--Annex/Transfer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Transfer.hs b/Annex/Transfer.hs
index af9d89f4d..460376b7e 100644
--- a/Annex/Transfer.hs
+++ b/Annex/Transfer.hs
@@ -105,7 +105,7 @@ runTransfer' ignorelock t file shouldretry transferobserver transferaction = do
, return (Nothing, True)
)
#else
- prep tfile _mode info = catchPermissionDenied (const prepfailed) liftIO $ do
+ prep tfile _mode info = catchPermissionDenied (const prepfailed) $ do
let lck = transferLockFile tfile
createAnnexDirectory $ takeDirectory lck
v <- catchMaybeIO $ lockExclusive lck