JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Call _exit() instead of exit() if exec*() fails
authorsin <sin@2f30.org>
Tue, 11 Nov 2014 18:29:11 +0000 (18:29 +0000)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 19 Nov 2014 17:52:42 +0000 (18:52 +0100)
commit4418939dd9f3a7b3cfd3071234ed18ae86538f2a
tree69d883225303d156e0afcacd96b12612d55d57c8
parentbafbba56cd5735c680676db2adf6f614ba61356f
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.
st.c