York slipped off the top of the National League table after a goalless draw against Aldershot.
The hosts, who saw Ollie Harfield carried off early on after suffering an injury, almost benefited from a defensive mix-up in the 21st minute but Josh Barrett hit the bar from long range.
Barrett was then played in by Theo Widdrington and rounded York keeper Rory Watson but could only hit his shot wide.
At the other end, two fine saves from Marcus Dewhurst kept out York, who now sit behind Forest Green on goal difference.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.