diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index 5f6543b7e9..af17b874aa 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -87,7 +87,11 @@ def worker_child_fire(event, d): | |||
87 | global worker_pipe | 87 | global worker_pipe |
88 | 88 | ||
89 | data = "<event>" + pickle.dumps(event) + "</event>" | 89 | data = "<event>" + pickle.dumps(event) + "</event>" |
90 | worker_pipe.write(data) | 90 | try: |
91 | worker_pipe.write(data) | ||
92 | except IOError: | ||
93 | sigterm_handler(None, None) | ||
94 | raise | ||
91 | 95 | ||
92 | bb.event.worker_fire = worker_fire | 96 | bb.event.worker_fire = worker_fire |
93 | 97 | ||