summaryrefslogtreecommitdiff
path: root/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2014-04-04 18:50:54 -0400
committerJoey Hess2014-04-04 18:50:54 -0400
commit4dedfb0ec6f0b5e9e0db6fa2708a39817375ead0 (patch)
tree7492a199929312c0b4cee0b385b6c14c2c5226a7 /Propellor/Property
parentbeea8091cf9d74e887b8fbb27f3306772be02504 (diff)
propellor spin
Diffstat (limited to 'Propellor/Property')
-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 b39b5a1b..07c49b47 100644
--- a/Propellor/Property/Docker.hs
+++ b/Propellor/Property/Docker.hs
@@ -304,7 +304,7 @@ chain s = case toContainerId s of
void $ async $ job reapzombies
void $ async $ job $ simpleSh $ namedPipe cid
job $ do
- void $ ifM (inPath "bash")
+ void $ tryIO $ ifM (inPath "bash")
( boolSystem "bash" [Param "-l"]
, boolSystem "/bin/sh" []
)