summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2016-01-03 16:26:16 -0400
committerJoey Hess2016-01-03 16:26:16 -0400
commit3f5cc046915a9f64c31a6d48aaef5254f5eb7598 (patch)
tree110bd5acac6adf0c08111efb9f9cd2dc07701b30 /src/Propellor/CmdLine.hs
parent299d478dfd96037c660109c4f0519fd1cc37a887 (diff)
parent93ee9e6966783368fa41fb75c7e287bee04f9c16 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/CmdLine.hs')
-rw-r--r--src/Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index 4a4f71fe..1e61adc8 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -118,7 +118,7 @@ defaultMain hostlist = withConcurrentOutput $ do
go True cmdline@(Spin _ _) = buildFirst cmdline $ go False cmdline
go True cmdline = updateFirst cmdline $ go False cmdline
go False (Spin hs mrelay) = do
- commitSpin
+ unless (isJust mrelay) commitSpin
forM_ hs $ \hn -> withhost hn $ spin mrelay hn
go False cmdline@(SimpleRun hn) = do
forceConsole