summaryrefslogtreecommitdiff
path: root/CmdLine/Action.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CmdLine/Action.hs')
-rw-r--r--CmdLine/Action.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/CmdLine/Action.hs b/CmdLine/Action.hs
index 2579196c9..03acb04d7 100644
--- a/CmdLine/Action.hs
+++ b/CmdLine/Action.hs
@@ -119,11 +119,8 @@ findFreeSlot = go []
{- Like commandAction, but without the concurrency. -}
includeCommandAction :: CommandStart -> CommandCleanup
-includeCommandAction a = account =<< tryIO go
+includeCommandAction a = account =<< tryIO (callCommandAction a)
where
- go = do
- Annex.Queue.flushWhenFull
- callCommandAction a
account (Right True) = return True
account (Right False) = incerr
account (Left err) = do