diff options
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 723a2e740..61107ebe1 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -93,7 +93,7 @@ verifyLocationLog key desc = do preventWrite (parentDir f) u <- getUUID - uuids <- keyLocations key + uuids <- Remote.keyLocations key case (present, u `elem` uuids) of (True, False) -> do @@ -142,7 +142,7 @@ checkBackend = Types.Backend.fsckKey checkKeyNumCopies :: Key -> FilePath -> Maybe Int -> Annex Bool checkKeyNumCopies key file numcopies = do needed <- getNumCopies numcopies - (untrustedlocations, safelocations) <- trustPartition UnTrusted =<< keyLocations key + (untrustedlocations, safelocations) <- trustPartition UnTrusted =<< Remote.keyLocations key let present = length safelocations if present < needed then do |