Return stderr

This commit is contained in:
David Boucha 2013-09-26 11:35:46 -06:00
parent ef7f3e9693
commit e862396094

View File

@ -152,6 +152,8 @@ class SSH(object):
else:
return {host: data}
except Exception:
if stderr:
return {host: stderr}
return {host: 'Bad Return'}
return ret