Commit ae35c371 authored by Tobias Lindskog's avatar Tobias Lindskog Committed by Brian Carlstrom
Browse files

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
parent 4ba37664
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment