Replace use of EXIT_* constants to 0 and 1