diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-21 19:47:15 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-21 19:47:15 -0400 |
| commit | eac925f398df39791fe8236f8f8329627761f2e9 (patch) | |
| tree | 9ce53fbad65c36bb39b5102e6792219b43c34d2a /src/Propellor/CmdLine.hs | |
| parent | 2d1671d5ebdd3c7f99d4023ac621137938505962 (diff) | |
| parent | 85f08ee913a77c16ba4d264581b1240468c4ebb2 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/CmdLine.hs')
| -rw-r--r-- | src/Propellor/CmdLine.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs index a0be167e..9f798166 100644 --- a/src/Propellor/CmdLine.hs +++ b/src/Propellor/CmdLine.hs @@ -119,8 +119,7 @@ defaultMain hostlist = do go True cmdline = updateFirst cmdline $ go False cmdline go False (Spin hs mrelay) = do commitSpin - forM_ hs $ \hn -> withhost hn $ - spin (maybe RegularSpin RelaySpin mrelay) hn + forM_ hs $ \hn -> withhost hn $ spin mrelay hn go False cmdline@(SimpleRun hn) = buildFirst cmdline $ go False (Run hn) go False (Run hn) = ifM ((==) 0 <$> getRealUserID) |
