From: Sage Weil Date: Tue, 14 Aug 2012 22:08:21 +0000 (-0700) Subject: queue: fix logging of child return code X-Git-Tag: 1.1.0~2472 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6dbbcf03fc6379208900697ca87fd8f3b69a5a2b;p=teuthology.git queue: fix logging of child return code --- diff --git a/teuthology/queue.py b/teuthology/queue.py index cbd2f9cc8..1f5d2da5e 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -135,6 +135,6 @@ def run_job(job_config, archive_path): child.info(': %s', line.rstrip('\n')) p.wait() if p.returncode != 0: - log.error('Child exited with code %s', e) + log.error('Child exited with code %d', p.returncode) else: log.info('Success!')