From 80a20d6df36e789a452474fb6d1329583ebe95b2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Nov 2014 18:46:10 -0400 Subject: cleanup --- src/Propellor/CmdLine.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/Propellor') diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs index 8c67f378..ebe790ec 100644 --- a/src/Propellor/CmdLine.hs +++ b/src/Propellor/CmdLine.hs @@ -245,7 +245,7 @@ spin hn hst = do hClose toh -- Display remaining output. void $ tryIO $ forever $ - showremote =<< hGetLine fromh + putStrLn =<< hGetLine fromh hClose fromh dispatch Nothing = return () @@ -271,8 +271,6 @@ spin hn hst = do runcmd = mkcmd [ "cd " ++ localdir ++ " && ./propellor --continue " ++ shellEscape (show (SimpleRun hn)) ] - showremote s = putStrLn s - sendprivdata toh privdata = void $ actionMessage ("Sending privdata (" ++ show (length privdata) ++ " bytes) to " ++ hn) $ do sendMarked toh privDataMarker privdata -- cgit v1.2.3