Corrected exit code for check