Change some _exit(0|1) to _exit(EXIT_SUCCESS|EXIT_FAILURE).