mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Return stderr
This commit is contained in:
parent
ef7f3e9693
commit
e862396094
@ -152,6 +152,8 @@ class SSH(object):
|
||||
else:
|
||||
return {host: data}
|
||||
except Exception:
|
||||
if stderr:
|
||||
return {host: stderr}
|
||||
return {host: 'Bad Return'}
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user