Exit with nonzero error code when found