diff options
Diffstat (limited to 'Annex/Content.hs')
-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 |