]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Feb 2011 12:33:40 +0000 (12:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Feb 2011 12:33:40 +0000 (12:33 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py

index 572b8722762ed3e9e0afd252fa36ea2545bc93a2..7d1f48aee21a85c8fb79177b5bf4ee7916a66ae6 100644 (file)
@@ -1107,6 +1107,8 @@ class RunQueueExecute:
             # themselves
             bblogger.handlers = [bb.event.LogHandler()]
 
+            signal.signal(signal.SIGCHLD, signal.SIG_DFL)
+
             self.rq.state = runQueueChildProcess
             # Make the child the process group leader
             os.setpgid(0, 0)