summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-16 12:33:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-16 12:33:40 +0000
commit7e4c694c9f53ce9458e052adb918c45db88254dd (patch)
tree6a9896781a9cac7130ff68e19204071447050b8e /bitbake/lib/bb/runqueue.py
parent974ea1a190167dcfd831ba1fc5f733e0dc9a6fda (diff)
downloadpoky-7e4c694c9f53ce9458e052adb918c45db88254dd.tar.gz
bitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 572b872276..7d1f48aee2 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1107,6 +1107,8 @@ class RunQueueExecute:
1107 # themselves 1107 # themselves
1108 bblogger.handlers = [bb.event.LogHandler()] 1108 bblogger.handlers = [bb.event.LogHandler()]
1109 1109
1110 signal.signal(signal.SIGCHLD, signal.SIG_DFL)
1111
1110 self.rq.state = runQueueChildProcess 1112 self.rq.state = runQueueChildProcess
1111 # Make the child the process group leader 1113 # Make the child the process group leader
1112 os.setpgid(0, 0) 1114 os.setpgid(0, 0)