diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index f053382f50..767a1c0336 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -305,9 +305,9 @@ class BitbakeWorker(object): | |||
305 | 305 | ||
306 | def sigterm_exception(self, signum, stackframe): | 306 | def sigterm_exception(self, signum, stackframe): |
307 | if signum == signal.SIGTERM: | 307 | if signum == signal.SIGTERM: |
308 | bb.warn("Worker recieved SIGTERM, shutting down...") | 308 | bb.warn("Worker received SIGTERM, shutting down...") |
309 | elif signum == signal.SIGHUP: | 309 | elif signum == signal.SIGHUP: |
310 | bb.warn("Worker recieved SIGHUP, shutting down...") | 310 | bb.warn("Worker received SIGHUP, shutting down...") |
311 | self.handle_finishnow(None) | 311 | self.handle_finishnow(None) |
312 | signal.signal(signal.SIGTERM, signal.SIG_DFL) | 312 | signal.signal(signal.SIGTERM, signal.SIG_DFL) |
313 | os.kill(os.getpid(), signal.SIGTERM) | 313 | os.kill(os.getpid(), signal.SIGTERM) |