exit(0)改为exit(EXIT_FAILURE)