From e58089b9d708ba176594a758580cc52c23725a5b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 18 Mar 2014 11:31:14 +0000 Subject: 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 --- bitbake/lib/bb/runqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index e8dfb394cd..b71e1d0fcb 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): -- cgit v1.2.3-54-g00ecf