commit | ce4f37979316dacf99d5bd3298e870bd35d14aac | [log] [tgz] |
---|---|---|
author | JP Abgrall <jpa@google.com> | Mon Aug 06 13:44:44 2012 -0700 |
committer | JP Abgrall <jpa@google.com> | Mon Aug 06 13:44:44 2012 -0700 |
tree | a10aaec21bc907e2e12fa593d5312d69937919a1 | |
parent | f68fcec168d7f2126b8d774628c4368f56dd6b76 [diff] |
TetherController: Use correct exit() after fork()+failed exec(). The bluetooth hack I98a1c8aedfa042b1824de7d8c69f2600c9bfcf29 uses the wrong exit() after the exec() fail. This will have undesirable effects like cpp destructors and atexit() funcs being invoked which could have undesirable effects for the parent. Also fixed other prior instance of fork()+exec()+"return" Change-Id: I8c09472a371640a710c55fc18e020b9c152bf9cc