Corrected exit statement