Revision a162cf5b lib/ssh.py
b/lib/ssh.py | ||
---|---|---|
219 | 219 |
output = retval.output |
220 | 220 |
if output: |
221 | 221 |
msg += ": %s" % output |
222 |
else: |
|
223 |
msg += ": %s (no output)" % retval.fail_reason |
|
224 |
logging.error("Command %s failed: %s" % (retval.cmd, msg)) |
|
222 | 225 |
return False, msg |
223 | 226 |
|
224 | 227 |
remotehostname = retval.stdout.strip() |
Also available in: Unified diff