A numerical method for a singularly perturbed linear nonlocal problem is considered. A classical difference scheme on a special non-equidistant mesh, which is dense in the boundary layers, is applied. The second order convergence uniform in the perturbation parameter is proved. A numerical example is given.