]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
Fix exit code display for task failure
authorChris Larson <chris_larson@mentor.com>
Fri, 10 Sep 2010 18:14:54 +0000 (11:14 -0700)
committerChris Larson <chris_larson@mentor.com>
Fri, 10 Sep 2010 18:14:54 +0000 (11:14 -0700)
commit90c2b6cb24dc9c82f0a9aa9d23f2d1ed2e6ff301
treeb2b6e6a36d64fb20f76bcfd05459883746129da5
parent06b742aae2b8013cbb269cc30554cff89e3a5667
Fix exit code display for task failure

Per the python documentation, os.waitpid returns the exitcode shifted up by 8
bits, and we weren't compensating, resulting in a display of 'failed with 256'
when a worker process exits with a code of 1.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/runqueue.py