[minor fix] Replaced exit(0) with exit(EXIT_SUCCESS).

They're basically the same thing but it should be done this way for portability.