diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-05 13:11:03 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-05 13:11:03 -0400 |
commit | c6893038719619dcbc4e640d4a3cc96b4cd24d27 (patch) | |
tree | 372602eabc2448bd99317b206b11a945546e7925 | |
parent | 0c83331b181f1fb61a115e285e39ccfd766e7a55 (diff) |
fix windows build
-rw-r--r-- | Annex/Content.hs | 2 |
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 |