summaryrefslogtreecommitdiff
path: root/src/Propellor/Engine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-20 16:07:57 -0400
committerJoey Hess2014-11-20 16:07:57 -0400
commit3669bd61d0e15682ce25b9a82788b8d69f87d123 (patch)
tree7217867f1a5e420274984f2376811ed202584194 /src/Propellor/Engine.hs
parent00cab6901feec708b69d4f0ac1a4d3d0ec7caa45 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Engine.hs')
-rw-r--r--src/Propellor/Engine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Engine.hs b/src/Propellor/Engine.hs
index 0cbf6247..969769ce 100644
--- a/src/Propellor/Engine.hs
+++ b/src/Propellor/Engine.hs
@@ -77,6 +77,6 @@ processChainOutput h = go Nothing
Nothing -> pure $ fromMaybe FailedChange $
readish =<< lastline
Just s -> do
- maybe noop putStrLn lastline
+ maybe noop (\l -> unless (null l) (putStrLn l)) lastline
hFlush stdout
go (Just s)