diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-22 15:48:17 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-22 15:48:17 -0400 |
| commit | 395f311e1e07e0da31b48dc1bd0c1f5882fc3627 (patch) | |
| tree | 5c490b758589d68626f7236c01511cfbaa161fb1 /src/Propellor/CmdLine.hs | |
| parent | 435ba8ca41668bf959a2dc3b3f2cf7b2ce3d8b97 (diff) | |
propellor spin
Diffstat (limited to 'src/Propellor/CmdLine.hs')
| -rw-r--r-- | src/Propellor/CmdLine.hs | 6 |
1 files changed, 3 insertions, 3 deletions
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" |
