Typo and fix exit status