diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-06-18 16:57:38 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-06-18 16:57:38 -0400 |
| commit | 9b457ae66d5c5143f5896156cc4af8d5a0bc0ddc (patch) | |
| tree | f1c1b772ffec1e2053247939576308809056a2fa /src/Propellor | |
| parent | 6acb52f5f9696bfa549fec827420f1672cd7a52b (diff) | |
remove unnecessary binary mode setting
This is using ByteString, so the handle IO discipline is irrelevant.
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Spin.hs | 2 |
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 |
