Reaching their second consecutive World Cup final, France knocked out Morocco 2-0, ending the north African side's fairytale campaign.