diff options
author | Joey Hess <joey@kitenet.net> | 2013-01-07 13:01:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-01-07 13:01:53 -0400 |
commit | 26a74d74f55f7510f9123fe3c5aff3e711c884d8 (patch) | |
tree | 22598524d155f4198da835a4005070d743010d3b /Command/Fsck.hs | |
parent | dddac905a074e8f780869571adb533b8e61a5349 (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.hs | 2 |
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 |