diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-19 00:38:11 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-19 00:38:11 -0400 |
| commit | f8b71c0ab4e09a90aeced9a563465c0b89ee1a16 (patch) | |
| tree | 4b0c42622518ce668b1ad89e852e503d2573152d /src | |
| parent | 29f3337034366b20271426fb899e30a1f690a805 (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Docker.hs | 2 |
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) |
