Return non zero exit status on error