From fc63e3b660fdb22b80b94c0451042f8c72170458 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 7 Jan 2013 13:01:53 -0400 Subject: [PATCH] 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 d4573184dd..7ea4294a53 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