diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-18 15:18:26 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-18 15:18:26 -0400 |
| commit | 02fc9fcca9214e079e577a8c200550ca027ebeb4 (patch) | |
| tree | aa6c9a1c51d1cd5c85addc22e90651901ff9145a | |
| parent | 573c6ab4b8800e40bb749aa25eef9bc5fd2132c6 (diff) | |
propellor spin
| -rw-r--r-- | src/Propellor/CmdLine.hs | 2 |
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" |
