summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-22 15:50:14 -0400
committerJoey Hess2014-11-22 15:50:14 -0400
commit97931fe6700be054e6e5e26da9a9f47e88ba6a2a (patch)
tree870f547c89db368fe26962a01243f4f86552e3b9 /src/Propellor/CmdLine.hs
parent645d0918f2d32dbcb607c855afa19478d3e7e3b1 (diff)
propellor spin
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 7a4fdd7c..2bd07614 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -199,7 +199,7 @@ spin target relay hst = do
runcmd = mkcmd [ "cd " ++ localdir ++ " && ./propellor --continue " ++ shellEscape (show cmd) ]
cmd = if isNothing relay
then SimpleRun target
- else Spin target relay
+ else Spin target (Just target)
runparams = catMaybes
[ if isJust relay then Just "-A" else Nothing
, Just "-t"