Make it one line shorter and the program has only one exit.