summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2016-03-06 18:55:27 -0400
committerJoey Hess2016-03-06 18:55:27 -0400
commit463418726ad8d8b80b5f0aae302c18c1516774f8 (patch)
treee273a049bb23dbb40e11878c970e9886204a9cc6 /src/Propellor/CmdLine.hs
parent5be7972fa1a4f1853ad4113d54b9a42cea730b76 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/CmdLine.hs')
-rw-r--r--src/Propellor/CmdLine.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index f708c1d9..5dbc5836 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -113,8 +113,10 @@ defaultMain hostlist = withConcurrentOutput $ do
go _ (DockerChain hn cid) = Docker.chain hostlist hn cid
go _ (DockerInit hn) = Docker.init hn
go _ (GitPush fin fout) = gitPushHelper fin fout
- go cr (Relay h) = forceConsole >> updateFirst cr (Update (Just h)) (update (Just h))
- go _ (Update Nothing) = forceConsole >> fetchFirst (onlyprocess (update Nothing))
+ go cr (Relay h) = forceConsole >>
+ updateFirst cr (Update (Just h)) (update (Just h))
+ go _ (Update Nothing) = forceConsole >>
+ fetchFirst (onlyprocess (update Nothing))
go _ (Update (Just h)) = update (Just h)
go _ Merge = mergeSpin
go cr cmdline@(Spin hs mrelay) = buildFirst cr cmdline $ do