Simply right-shifting exit codes is just WRONG. We are loosing all non-signal based errors.
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1319 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index 3756544..45b4703 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -261,7 +261,7 @@
start_time = time.time()
ret = _wait_for_command(sp, start_time, timeout, stdout_file,
stderr_file, stdout_tee, stderr_tee)
- result.exit_status = ret >> 8
+ result.exit_status = ret
result.duration = time.time() - start_time
# don't use os.read now, so we get all the rest of the output