mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #24764 from cachedout/ssh_syntax_error
Fix syntax error
This commit is contained in:
commit
fc4d4912f0
@ -118,7 +118,7 @@ class FunctionWrapper(object):
|
||||
if stderr.count('Permission Denied'):
|
||||
return {'_error': 'Permission Denied',
|
||||
'stdout': stdout,
|
||||
'stderr': stderr
|
||||
'stderr': stderr,
|
||||
'retcode': retcode}
|
||||
try:
|
||||
ret = json.loads(stdout, object_hook=salt.utils.decode_dict)
|
||||
|
Loading…
Reference in New Issue
Block a user