diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-01 13:07:55 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-01 13:07:55 -0400 |
| commit | 9df409d2fb8aeb63d40255737420698df3c21f08 (patch) | |
| tree | 2b325dc9fb51959bdb7dfda0801c95ac32ab7646 | |
| parent | ff4bc019cfd7ba4caa5fe803d8e70a9e0b75d2fd (diff) | |
fix
| -rw-r--r-- | Propellor/Property/Docker.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property/Docker.hs b/Propellor/Property/Docker.hs index 92f59274..c6a2bc7f 100644 --- a/Propellor/Property/Docker.hs +++ b/Propellor/Property/Docker.hs @@ -190,7 +190,7 @@ stopContainer cid = boolSystem dockercmd [Param "stop", Param $ fromContainerId removeContainer :: ContainerId -> IO () removeContainer cid = void $ catchMaybeIO $ - readProcess "sh" [Param "-c", Param $ dockercmd ++ " rm " ++ fromContainerId cid ] + readProcess dockercmd ["rm", fromContainerId cid ] runContainer :: Image -> [RunParam] -> [String] -> IO Bool runContainer image ps cmd = boolSystem dockercmd $ map Param $ |
