Asymptotic behavior for a one-dimensional nonlocal diffusion equation in exterior domains