summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-04-04 16:23:20 -0400
committerJoey Hess2014-04-04 16:23:20 -0400
commit160b598756ad08c0d4e8d7da038a63d988e0ab7a (patch)
treefdd98e96a2d35560bb6091e61239aed25f7e03f3
parent409dea570940cee4139ebd89387cde63a818464f (diff)
add a lock
-rw-r--r--Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs
index 3974f1d5..560e774d 100644
--- a/Propellor/CmdLine.hs
+++ b/Propellor/CmdLine.hs
@@ -76,7 +76,7 @@ defaultMain getprops = do
( onlyProcess $ withprops host ensureProperties
, go True (Spin host)
)
- go False (Boot host) = withprops host $ boot
+ go False (Boot host) = onlyProcess $ withprops host $ boot
withprops host a = maybe (unknownhost host) a $
headMaybe $ catMaybes $ map (\get -> get host) getprops