summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-11-19 00:38:11 -0400
committerJoey Hess2014-11-19 00:38:11 -0400
commitf8b71c0ab4e09a90aeced9a563465c0b89ee1a16 (patch)
tree4b0c42622518ce668b1ad89e852e503d2573152d /src/Propellor
parent29f3337034366b20271426fb899e30a1f690a805 (diff)
propellor spin
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Docker.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Docker.hs b/src/Propellor/Property/Docker.hs
index 2b4faf7b..e5d488c1 100644
--- a/src/Propellor/Property/Docker.hs
+++ b/src/Propellor/Property/Docker.hs
@@ -489,7 +489,7 @@ runContainer image ps cmd = boolSystem dockercmd $ map Param $
"run" : (ps ++ image : cmd)
inContainer :: ContainerId -> [String] -> [String] -> (Handle -> IO a) -> IO a
-inContainer cid ps cmd = withHandle StdinHandle createProcessSuccess
+inContainer cid ps cmd = withHandle StdoutHandle createProcessSuccess
(proc dockercmd ("exec" : ps ++ [fromContainerId cid] ++ cmd))
commitContainer :: ContainerId -> IO (Maybe Image)