summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2017-06-18 16:57:38 -0400
committerJoey Hess2017-06-18 16:57:38 -0400
commit9b457ae66d5c5143f5896156cc4af8d5a0bc0ddc (patch)
treef1c1b772ffec1e2053247939576308809056a2fa
parent6acb52f5f9696bfa549fec827420f1672cd7a52b (diff)
remove unnecessary binary mode setting
This is using ByteString, so the handle IO discipline is irrelevant.
-rw-r--r--src/Propellor/Spin.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs
index 3b3729f9..d0ce4d03 100644
--- a/src/Propellor/Spin.hs
+++ b/src/Propellor/Spin.hs
@@ -349,8 +349,6 @@ gitPushHelper hin hout = void $ fromstdin `concurrently` tostdout
h <- fdToHandle hin
connect h stdout
connect fromh toh = do
- hSetBinaryMode fromh True
- hSetBinaryMode toh True
b <- B.hGetSome fromh 40960
if B.null b
then do