From a04ad13b8e954517231986733db8c1262f425903 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 1 Apr 2014 14:47:30 -0400 Subject: add newline in case previous stdout lacked one should probably use a Marker here.. --- Propellor/CmdLine.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Propellor') diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs index 73254165..626828aa 100644 --- a/Propellor/CmdLine.hs +++ b/Propellor/CmdLine.hs @@ -59,7 +59,9 @@ defaultMain getprops = do go _ (Continue cmdline) = go False cmdline go _ (Set host field) = setPrivData host field go _ (AddKey keyid) = addKey keyid - go _ (Chain host) = withprops host $ print <=< ensureProperties' + go _ (Chain host) = withprops host $ \ps -> do + r <- ensureProperties' ps + putStrLn $ "\n" ++ show r go _ (ChainDocker host) = Docker.chain host go True cmdline@(Spin _) = buildFirst cmdline $ go False cmdline go True cmdline = updateFirst cmdline $ go False cmdline -- cgit v1.2.3