summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-15 18:37:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-15 18:37:49 -0400
commit0893820812c9cc10287c861dccbdae3c287cd7cf (patch)
tree3d3216d68f805d84ce423244273fee8f4e8353a3 /Command
parenta5e7f5329f4d9a80a34302e3707f0bd42b91a441 (diff)
fsck: Print warnings to stderr; --quiet can now be used to only see problems.
Diffstat (limited to 'Command')
-rw-r--r--Command/Unused.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs
index 7a34d393c..ae189550c 100644
--- a/Command/Unused.hs
+++ b/Command/Unused.hs
@@ -28,10 +28,8 @@ start = do
perform :: SubCmdPerform
perform = do
- ok <- checkUnused
- if ok
- then return $ Just $ return True
- else return Nothing
+ _ <- checkUnused
+ return $ Just $ return True
checkUnused :: Annex Bool
checkUnused = do