diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-03-04 15:15:38 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-03-04 15:15:38 +0000 |
commit | 9b8c5d0c6ce444811eb0cfd182695df29c917fa9 (patch) | |
tree | 2f0fcc11a4216a0ae95df49825724f3dc5b378de | |
parent | a49a4f406aceb8d96af0a24c62bdd70e82aa2c74 (diff) | |
download | bitbake-9b8c5d0c6ce444811eb0cfd182695df29c917fa9.tar.gz |
runqueue.py: Try to kill remaining processes but don't error if they no longer exist (reported by koen)
-rw-r--r-- | lib/bb/runqueue.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index aff50ab0b..e93da66dd 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -523,7 +523,10 @@ class RunQueue: except: bb.msg.note(1, bb.msg.domain.RunQueue, "Sending SIGINT to remaining %s tasks" % self.active_builds) for k, v in build_pids.iteritems(): - os.kill(-k, signal.SIGINT) + try: + os.kill(-k, signal.SIGINT) + except: + pass raise # Sanity Checks |