summaryrefslogtreecommitdiffstats
path: root/fuel/deploy/ssh_client.py
diff options
context:
space:
mode:
authorSzilard Cserey <szilard.cserey@ericsson.com>2015-06-18 11:32:57 +0200
committerSzilard Cserey <szilard.cserey@ericsson.com>2015-06-18 13:29:46 +0200
commit49b17cd12b10327ca8848c37746768aa6c804827 (patch)
tree474dd7201c71b7a54086250c1c40adfe10d41f34 /fuel/deploy/ssh_client.py
parentc52a2ce8490535fe839a47b46eb42c458d39106a (diff)
Catching exit status from remote deployment process
JIRA: [BGS-2] Create Fuel deployment script Change-Id: I21997df2534ef3cb0ae9ed47a01e6625b8404af9 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
Diffstat (limited to 'fuel/deploy/ssh_client.py')
-rw-r--r--fuel/deploy/ssh_client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuel/deploy/ssh_client.py b/fuel/deploy/ssh_client.py
index 8bf87bc..0ec2edc 100644
--- 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: