Calendar An icon of a desk calendar. Cancel An icon of a circle with a diagonal line across. Caret An icon of a block arrow pointing to the right. Email An icon of a paper envelope. Facebook An icon of the Facebook "f" mark. Google An icon of the Google "G" mark. Linked In An icon of the Linked In "in" mark. Logout An icon representing logout. Profile An icon that resembles human head and shoulders. Telephone An icon of a traditional telephone receiver. Tick An icon of a tick mark. Is Public An icon of a human eye and eyelashes. Is Not Public An icon of a human eye and eyelashes with a diagonal line through it. Pause Icon A two-lined pause icon for stopping interactions. Quote Mark A opening quote mark. Quote Mark A closing quote mark. Arrow An icon of an arrow. Folder An icon of a paper folder. Breaking An icon of an exclamation mark on a circular background. Camera An icon of a digital camera. Caret An icon of a caret arrow. Clock An icon of a clock face. Close An icon of the an X shape. Close Icon An icon used to represent where to interact to collapse or dismiss a component Comment An icon of a speech bubble. Comments An icon of a speech bubble, denoting user comments. Comments An icon of a speech bubble, denoting user comments. Ellipsis An icon of 3 horizontal dots. Envelope An icon of a paper envelope. Facebook An icon of a facebook f logo. Camera An icon of a digital camera. Home An icon of a house. Instagram An icon of the Instagram logo. LinkedIn An icon of the LinkedIn logo. Magnifying Glass An icon of a magnifying glass. Search Icon A magnifying glass icon that is used to represent the function of searching. Menu An icon of 3 horizontal lines. Hamburger Menu Icon An icon used to represent a collapsed menu. Next An icon of an arrow pointing to the right. Notice An explanation mark centred inside a circle. Previous An icon of an arrow pointing to the left. Rating An icon of a star. Tag An icon of a tag. Twitter An icon of the Twitter logo. Video Camera An icon of a video camera shape. Speech Bubble Icon A icon displaying a speech bubble WhatsApp An icon of the WhatsApp logo. Information An icon of an information logo. Plus A mathematical 'plus' symbol. Duration An icon indicating Time. Success Tick An icon of a green tick. Success Tick Timeout An icon of a greyed out success tick. Loading Spinner An icon of a loading spinner. Facebook Messenger An icon of the facebook messenger app logo. Facebook An icon of a facebook f logo. Facebook Messenger An icon of the Twitter app logo. LinkedIn An icon of the LinkedIn logo. WhatsApp Messenger An icon of the Whatsapp messenger app logo. Email An icon of an mail envelope. Copy link A decentered black square over a white square.

VERDICT: Dundee dig deep for 2-0 victory at Hamilton

Neil McCann celebrates with Kharl Madianga at full-time on Saturday.
Neil McCann celebrates with Kharl Madianga at full-time on Saturday.

If ever there was a game in which the result was all that mattered, it was this one.

Dundee, and their under-pressure manager, got their win. Just.

Time will tell if this proves to be a season-changer or a false dawn but what was in no doubt was that Neil McCann’s players gave everything for him.

Karl Madianga celebrates scoring the second goal for Dundee.

The Andy Boyle opener was scored near the end of the first half and, after the visitors passed up a couple of chances to get a second, their goal came under siege for spells.

A combination of poor finishing, woodwork and good fortune, topped off with a 94th minute Karl Madianga sucker-punch, ensured the Dark Blues ended a seven-game losing run and got their first Premiership points on the board.

At last they now have a platform to build on.

Dundee did a good job of keeping the home team at arm’s length in the first half, restricting Accies to just one chance – a volley on the turn smashed over by Dougie Imrie on the half-hour mark.

Neil McCann at full time.

Then seven minutes before the break they took the lead for the first time in the league this season when Boyle headed home a Calvin Miller free-kick at the back post.

Dundee weren’t complaining but from a Hamilton perspective it was a shockingly simple set-piece goal to concede at such a crucial stage of a well-balanced game.

The Dark Blues nearly doubled their advantage on 54 minutes when Ryan Inniss saw a low shot from 10 yards brilliantly saved by Gary Woods.

There was another golden opportunity on 70 minutes when Adil Nabi shot over the bar. The better option would have been to put through Benjamin Kallman.

Dundee have earned a reputation for coughing up cheap goals and Elliott Parish was almost culpable for another one when a weak punch fell at the feet of Steven Boyd, who failed to cash in.

Accies were pushing hard for an equaliser and Fredrik Brustad was a fraction away from getting his toe to a low cross from the left that flew across the six yard box.

They got even closer on 77 minutes when substitute James Keating hit the bar with a free-kick that Parish was well beaten by.

Then in injury time the bar again came to Parish’s rescue when a Mason Bloomfield header came back off it.

With a rare counter-attack, Dundee sealed the three points when Madianga fired home from inside the box.

Neil McCann salutes the travelling fans.