summaryrefslogtreecommitdiff
path: root/src/Propellor/Message.hs
diff options
context:
space:
mode:
authorJoey Hess2014-07-07 01:48:13 -0400
committerJoey Hess2014-07-07 01:48:13 -0400
commit8298cb7875e24c54e79a596a250fbab1cfe0bb79 (patch)
tree8314dec2874cdb50bf79a329e0e883b8ac1a7be5 /src/Propellor/Message.hs
parent54cbeaf9fa9bf450ff68850a193f9a35e2ce0611 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Message.hs')
-rw-r--r--src/Propellor/Message.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Message.hs b/src/Propellor/Message.hs
index afbed1ca..4721449d 100644
--- a/src/Propellor/Message.hs
+++ b/src/Propellor/Message.hs
@@ -59,6 +59,7 @@ colorLine intensity color msg = do
errorMessage :: String -> IO a
errorMessage s = do
liftIO $ colorLine Vivid Red $ "** error: " ++ s
+ hFlush stdout
error "Cannot continue!"
-- | Causes a debug message to be displayed when PROPELLOR_DEBUG=1