diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-18 11:31:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-18 11:31:18 +0000 |
commit | e39e85803cbe1ef9413a118868c19087c0546d01 (patch) | |
tree | 677afca32b2a3ad7bf944194fed1f2eaf10218ad | |
parent | 79acfb0853aa3215215cee89a945f8e97b0a8fae (diff) | |
download | openembedded-core-contrib-e39e85803cbe1ef9413a118868c19087c0546d01.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index e8dfb394cd..b71e1d0fcb 100644 --- a/lib/bb/runqueue.py +++ b/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): |