The width of a post denied Senegal a comfortable quarter-final tie with Guinea as a 1-1 draw with Mali left them facing a daunting last-eight game against hosts Tunisia. Liverpool's El Hadji Diouf could only watch on in agony as his left-foot shot smacked against the upright in the 72nd minute. Had the ball gone in, Senegal would have won the group.
Instead it is Mali who will face Guinea in the knockout stages as they top the group with seven points from three matches. Mali went ahead thanks to Dramane Traore's 34th-minute strike, with Habib Beye equalising for Senegal in first-half stoppage time.
Meanwhile, Kenya, playing at their fifth African Nations Cup finals, finally won their first match on Monday when they beat Burkina Faso 3-0. Teenager Dennis Oliech, who once had a trial with Olympique Marseille, scored one and set up the other two for Emmanuel Ake and John Baraza as Kenya, already out of the tournament, won a match at the 14th attempt.
Kenya, who scored all their goals in the second half, finished third in Group B with three points while Burkina, who began the match with an outside chance of reaching the quarter-finals, finished last with one point.
Filed by Ciaran Cronin