summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-02 17:08:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-02 18:10:37 +0100
commit83ebcb1f0c6ec48c526d14324b3b2037f0f4fe43 (patch)
tree7e2c65264aecb651a36db6cc20c817c208bdc843
parent08ffc6bdf4307f6783c8ab068bb7cd5857474ae5 (diff)
downloadast2050-yocto-poky-83ebcb1f0c6ec48c526d14324b3b2037f0f4fe43.zip
ast2050-yocto-poky-83ebcb1f0c6ec48c526d14324b3b2037f0f4fe43.tar.gz
bitbake: process: Ensure abnormal exits set an error level
(Bitbake rev: 8f5c1cdae1ee6ce04ae0d04d0b95bd80efbf7534) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/server/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 4bfff45..d362f8d 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -203,7 +203,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue):
def waitEvent(self, timeout):
if self.exit:
- raise SystemExit
+ sys.exit(1)
try:
if not self.server.is_alive():
self.setexit()
OpenPOWER on IntegriCloud