summaryrefslogtreecommitdiff
path: root/src/Propellor/Engine.hs
diff options
context:
space:
mode:
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)