remove useless exit status check