cleanup
This commit is contained in:
parent
94369ef76b
commit
80a20d6df3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue