summaryrefslogtreecommitdiff
path: root/Messages.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Messages.hs')
-rw-r--r--Messages.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Messages.hs b/Messages.hs
index 6ea347ca4..a7f14f485 100644
--- a/Messages.hs
+++ b/Messages.hs
@@ -129,7 +129,7 @@ handle json normal = Annex.getState Annex.output >>= go
where
go Annex.NormalOutput = liftIO normal
go Annex.QuietOutput = q
- go Annex.JSONOutput = liftIO json
+ go Annex.JSONOutput = liftIO $ flushed $ json
q :: Monad m => m ()
q = return ()