From 6dbbcf03fc6379208900697ca87fd8f3b69a5a2b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 14 Aug 2012 15:08:21 -0700 Subject: [PATCH] queue: fix logging of child return code --- teuthology/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/queue.py b/teuthology/queue.py index cbd2f9cc84690..1f5d2da5e0796 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!') -- 2.39.5