Call _exit() instead of exit() if exec*() fails
exit() will also unwind the atexit() functions. This is bad because if exec*() fails the process is in an inconsistent state.
This commit is contained in:

committed by
Roberto E. Vargas Caballero

parent
bafbba56cd
commit
4418939dd9