Code Review
/
genesis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Catching exit status from remote deployment process
[genesis.git]
/
fuel
/
deploy
/
ssh_client.py
diff --git
a/fuel/deploy/ssh_client.py
b/fuel/deploy/ssh_client.py
index
8bf87bc
..
0ec2edc
100644
(file)
--- a/
fuel/deploy/ssh_client.py
+++ b/
fuel/deploy/ssh_client.py
@@
-70,6
+70,7
@@
class SSHClient(object):
while error_buff:
log(error_buff.strip())
error_buff = chan.recv_stderr(1024)
+ return chan.recv_exit_status()
def scp_get(self, remote, local='.', dir=False):
try: