From 395f311e1e07e0da31b48dc1bd0c1f5882fc3627 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 22 Nov 2014 15:48:17 -0400 Subject: propellor spin --- src/Propellor/CmdLine.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Propellor/CmdLine.hs') diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs index bb9b470e..7a4fdd7c 100644 --- a/src/Propellor/CmdLine.hs +++ b/src/Propellor/CmdLine.hs @@ -196,10 +196,10 @@ spin target relay hst = do , "fi" ] - runcmd = mkcmd [ "cd " ++ localdir ++ " && ./propellor " ++ cmd ] + runcmd = mkcmd [ "cd " ++ localdir ++ " && ./propellor --continue " ++ shellEscape (show cmd) ] cmd = if isNothing relay - then "--continue " ++ shellEscape (show (SimpleRun target)) - else "--spin " ++ shellEscape target + then SimpleRun target + else Spin target relay runparams = catMaybes [ if isJust relay then Just "-A" else Nothing , Just "-t" -- cgit v1.3-2-g0d8e