summaryrefslogtreecommitdiff
path: root/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-04-01 13:07:55 -0400
committerJoey Hess2014-04-01 13:07:55 -0400
commit9df409d2fb8aeb63d40255737420698df3c21f08 (patch)
tree2b325dc9fb51959bdb7dfda0801c95ac32ab7646 /Propellor
parentff4bc019cfd7ba4caa5fe803d8e70a9e0b75d2fd (diff)
fix
Diffstat (limited to 'Propellor')
-rw-r--r--Propellor/Property/Docker.hs2
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 $