From d6c797dc2edf3f9aaf5a5fb51afcde1f676327d2 Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Fri, 4 Mar 2022 14:36:25 +0000 Subject: [PATCH] Write summary-line to stderr instead of stdout --- src-hxbrief/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-hxbrief/Main.hs b/src-hxbrief/Main.hs index 2abac4d..c8d6c7e 100644 --- a/src-hxbrief/Main.hs +++ b/src-hxbrief/Main.hs @@ -659,7 +659,7 @@ main = B.mainFromCmdParser $ do pure (lastLine, ecMay) flushConcurrentOutput - unless omitSummary $ outputConcurrent lastLine + unless omitSummary $ errorConcurrent lastLine case ecMay of Nothing -> throwIO UserInterrupt -- essentially re-throw Just ec -> exitWith ec