From 26a74d74f55f7510f9123fe3c5aff3e711c884d8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 7 Jan 2013 13:01:53 -0400 Subject: fix a stupid typo that made fsck loop when it found bad content Thank goodness for test suites! --- Command/Fsck.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3