summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoey Hess2014-11-18 15:18:26 -0400
committerJoey Hess2014-11-18 15:18:26 -0400
commit02fc9fcca9214e079e577a8c200550ca027ebeb4 (patch)
treeaa6c9a1c51d1cd5c85addc22e90651901ff9145a /src
parent573c6ab4b8800e40bb749aa25eef9bc5fd2132c6 (diff)
propellor spin
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index 95387b83..1cf28d8e 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -295,8 +295,8 @@ boot = do
writeFileProtected privDataLocal
req NeedGitPush gitPushMarker $ \_ -> do
hin <- dup stdInput
- hClose stdin
hout <- dup stdOutput
+ hClose stdin
hClose stdout
unlessM (boolSystem "git" [Param "pull", Param $ "--upload=pack=./propellor --gitpush " ++ show hin ++ " " ++ show hout, Param "."]) $
warningMessage "git pull from client failed"