diff options
Diffstat (limited to 'Annex/Content.hs')
-rw-r--r-- | Annex/Content.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs index a78cf674c..f91c1e72a 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -110,10 +110,10 @@ inAnnexSafe key = inAnnex' (fromMaybe False) (Just False) go key ( checkOr is_unlocked lockfile , return is_missing ) - checkOr def lockfile = do + checkOr d lockfile = do v <- checkLocked lockfile return $ case v of - Nothing -> def + Nothing -> d Just True -> is_locked Just False -> is_unlocked #else |