summaryrefslogtreecommitdiff
path: root/Backend/WORM.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend/WORM.hs')
-rw-r--r--Backend/WORM.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/WORM.hs b/Backend/WORM.hs
index 56f243396..20a81d841 100644
--- a/Backend/WORM.hs
+++ b/Backend/WORM.hs
@@ -57,7 +57,7 @@ keySize key = read $ section !! 1
checkKeySize :: Key -> Annex Bool
checkKeySize key = do
g <- Annex.gitRepo
- let file = annexLocation g key
+ let file = gitAnnexLocation g key
present <- liftIO $ doesFileExist file
if not present
then return True