summaryrefslogtreecommitdiff
path: root/src/Propellor/Engine.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-27 16:19:15 -0400
committerJoey Hess2015-10-27 16:19:15 -0400
commit6e3b0022fa451181fdce8abd145e27a64a777711 (patch)
tree89e360698db6c6029cd639668865cef420966042 /src/Propellor/Engine.hs
parent56c3394144abbb9862dc67379d3253c76ae4df97 (diff)
use a shared global for the MessageHandle
Diffstat (limited to 'src/Propellor/Engine.hs')
-rw-r--r--src/Propellor/Engine.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Engine.hs b/src/Propellor/Engine.hs
index a811724a..f0bcdac8 100644
--- a/src/Propellor/Engine.hs
+++ b/src/Propellor/Engine.hs
@@ -38,8 +38,7 @@ mainProperties :: Host -> IO ()
mainProperties host = do
ret <- runPropellor host $
ensureProperties [ignoreInfo $ infoProperty "overall" (ensureProperties ps) mempty mempty]
- h <- mkMessageHandle
- whenConsole h $
+ whenConsole $
setTitle "propellor: done"
hFlush stdout
case ret of