summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-18 11:31:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-18 11:32:52 +0000
commite58089b9d708ba176594a758580cc52c23725a5b (patch)
treee9dce76b50c2974175fd178882ad0c4bc0c58b86 /bitbake/lib
parent6bbb179cc526c86631dfcb140e3dd51a8c07a52d (diff)
downloadast2050-yocto-poky-e58089b9d708ba176594a758580cc52c23725a5b.zip
ast2050-yocto-poky-e58089b9d708ba176594a758580cc52c23725a5b.tar.gz
bitbake: runqueue: Ensure handler does not recurse
Failures on the autobuilder look like this handler is recursing. That shouldn't be possible but it doesn't hurt to code as such. (Bitbake rev: e39e85803cbe1ef9413a118868c19087c0546d01) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index e8dfb39..b71e1d0 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -930,7 +930,7 @@ class RunQueue:
self.finish_runqueue(True)
except OSError:
pid = False
- if callable(self.oldsigchld):
+ if callable(self.oldsigchld) and self.oldsigchld != self.sigchild_exception:
self.oldsigchld(*args, **kwargs)
def start_worker(self):
OpenPOWER on IntegriCloud