diff options
author | Georgy Redkozubov <georgy.redkozubov@linaro.org> | 2013-05-07 16:27:37 +0400 |
---|---|---|
committer | Georgy Redkozubov <georgy.redkozubov@linaro.org> | 2013-05-07 16:27:37 +0400 |
commit | 622a59553b807c67468744fa665105863c248695 (patch) | |
tree | f256593550adb17ff7147c3353fe6b811d4b7dec /utils | |
parent | 9cc02cd447e2ef0d752040e4776ad94de650fb2d (diff) |
Fix return code handling
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/new-publish/propagate.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/new-publish/propagate.py b/utils/new-publish/propagate.py index df184be..86af7d5 100755 --- a/utils/new-publish/propagate.py +++ b/utils/new-publish/propagate.py @@ -65,9 +65,11 @@ if __name__ == "__main__": client.connect(remote_host, username=TRIGGER_USER_NAME, key_filename=TRIGGER_KEY_FILE) stdin, stdout, stderr = client.exec_command("reshuffle-files -t android -j %s -n %s -m %s" % (job, build, opt_staging)) stdin.close() + rc = stdout.channel.recv_exit_status() print "=== stdout ===" print stdout.read() print "=== stderr ===" print stderr.read() print "==============" client.close() + sys.exit(rc) |