commit | 3b64d6236c4100bf0cb9db0070bdc6175b919296 | [log] [tgz] |
---|---|---|
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | Mon Jun 03 16:22:31 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Jun 04 00:07:10 2013 -0400 |
tree | 3dffa720b0e4131da6a02a3cd866bf201df004f7 | |
parent | b846a8d45e898dabd54bbaa570b3460f3ebb0e25 [diff] |
use _exit instead of exit if client fails to exec exit() calls atexit() handlers and C++ destructors (e.g. a C++ weston module) which could destroy state that the main process depends on (e.g. ioctl's, tmpfiles, sockets, etc...). If an exec fails, call _exit() instead of exit(). v2: prefer _exit over _Exit Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>