summaryrefslogtreecommitdiff
path: root/Command/Fsck.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-07 13:01:53 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-07 13:01:53 -0400
commit26a74d74f55f7510f9123fe3c5aff3e711c884d8 (patch)
tree22598524d155f4198da835a4005070d743010d3b /Command/Fsck.hs
parentdddac905a074e8f780869571adb533b8e61a5349 (diff)
fix a stupid typo that made fsck loop when it found bad content
Thank goodness for test suites!
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r--Command/Fsck.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs
index d4573184d..7ea4294a5 100644
--- a/Command/Fsck.hs
+++ b/Command/Fsck.hs
@@ -357,7 +357,7 @@ missingNote file present needed untrusted =
{- Bad content is moved aside. -}
badContent :: Key -> Annex String
badContent key = do
- dest <- badContent key
+ dest <- moveBad key
return $ "moved to " ++ dest
badContentRemote :: Remote -> Key -> Annex String