diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-02 17:08:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-02 18:10:37 +0100 |
commit | 83ebcb1f0c6ec48c526d14324b3b2037f0f4fe43 (patch) | |
tree | 7e2c65264aecb651a36db6cc20c817c208bdc843 | |
parent | 08ffc6bdf4307f6783c8ab068bb7cd5857474ae5 (diff) | |
download | 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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 4bfff45f01..d362f8d7fe 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -203,7 +203,7 @@ class ProcessEventQueue(multiprocessing.queues.Queue): | |||
203 | 203 | ||
204 | def waitEvent(self, timeout): | 204 | def waitEvent(self, timeout): |
205 | if self.exit: | 205 | if self.exit: |
206 | raise SystemExit | 206 | sys.exit(1) |
207 | try: | 207 | try: |
208 | if not self.server.is_alive(): | 208 | if not self.server.is_alive(): |
209 | self.setexit() | 209 | self.setexit() |