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:32:52 +0000 |
commit | e58089b9d708ba176594a758580cc52c23725a5b (patch) | |
tree | e9dce76b50c2974175fd178882ad0c4bc0c58b86 /bitbake/lib | |
parent | 6bbb179cc526c86631dfcb140e3dd51a8c07a52d (diff) | |
download | 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.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
930 | self.finish_runqueue(True) | 930 | self.finish_runqueue(True) |
931 | except OSError: | 931 | except OSError: |
932 | pid = False | 932 | pid = False |
933 | if callable(self.oldsigchld): | 933 | if callable(self.oldsigchld) and self.oldsigchld != self.sigchild_exception: |
934 | self.oldsigchld(*args, **kwargs) | 934 | self.oldsigchld(*args, **kwargs) |
935 | 935 | ||
936 | def start_worker(self): | 936 | def start_worker(self): |