fix proto

This commit is contained in:
Joey Hess 2014-11-18 15:37:22 -04:00
parent 160c25b05c
commit b120262482
1 changed files with 1 additions and 3 deletions

View File

@ -310,9 +310,7 @@ boot = do
-- Reads from stdin and sends it to the first fd;
-- reads from the second fd and sends it to stdout.
gitPush :: Fd -> Fd -> IO ()
gitPush hin hout = do
hPutStrLn stderr $ show ("gitPush", hin, hout)
void $ fromstdin `concurrently` tostdout
gitPush hin hout = void $ fromstdin `concurrently` tostdout
where
fromstdin = do
h <- fdToHandle hin