Merge pull request #11950 from makinacorpus/ssh

fix: salt ssh args parsing
This commit is contained in:
Joseph Hall 2014-04-13 06:28:38 -06:00
commit 5fa140844b

View File

@ -477,8 +477,10 @@ class SSH(object):
args = [arg_str]
else:
cmd_args = arg_str.split(None, 1)
fun = cmd_args[0]
args = [cmd_args[1]]
fun = cmd_args.pop()
args = []
if cmd_args:
args = [cmd_args]
job_load = {
'jid': jid,