Use EXIT_SUCCESS instead of 0.