Exit non-zero on errors.