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
1 file changed