diff options
-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 f2d6e3249..aaae595aa 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -124,7 +124,7 @@ inAnnexSafe key = inAnnex' (fromMaybe False) (Just False) go key Nothing -> is_unlocked check def Nothing = return def #else - checkindirect f = ifM (liftIO $ doesFileExist f) + checkindirect f = liftIO $ ifM (doesFileExist f) ( do v <- lockShared f case v of |