commit | ae35c3716dd4d974f6e6c3900577d9d98f99132f | [log] [tgz] |
---|---|---|
author | Tobias Lindskog <tobias.lindskog@sonymobile.com> | Wed Nov 04 19:41:21 2015 +0100 |
committer | Brian Carlstrom <bdc@google.com> | Thu Nov 05 11:44:57 2015 -0800 |
tree | 731994aa28a7017133f6fecff16b1886e63c3ded | |
parent | 4ba3766449e4c36478ed896ee6d2ad9e9ee43f74 [diff] |
Use _exit instead of exit after exec fails A call to exit() will run the atexit handlers before exiting, which is usually not desirable in a forked-off child process. Calling _exit() instead will not run the atexit handlers. Change-Id: Ide9a69c0468faafeaf32b0babd9fcf2b4f06f546