summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-12-05 13:11:03 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-12-05 13:11:03 -0400
commitc6893038719619dcbc4e640d4a3cc96b4cd24d27 (patch)
tree372602eabc2448bd99317b206b11a945546e7925 /Annex
parent0c83331b181f1fb61a115e285e39ccfd766e7a55 (diff)
fix windows build
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Content.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs
index 986f673f6..768b2a9dc 100644
--- a/Annex/Content.hs
+++ b/Annex/Content.hs
@@ -170,7 +170,7 @@ inAnnexSafe key = inAnnex' (fromMaybe True) (Just False) go key
checkdirect contentfile lockfile =
ifM (liftIO $ doesFileExist contentfile)
( modifyContent lockfile $ liftIO $
- lockShared >>= \case
+ lockShared lockfile >>= \case
Nothing -> return is_locked
Just lockhandle -> do
dropLock lockhandle