fix a stupid typo that made fsck loop when it found bad content

Thank goodness for test suites!
This commit is contained in:
Joey Hess 2013-01-07 13:01:53 -04:00
parent 8b4f601626
commit fc63e3b660

View file

@ -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