Mats Hummels' header earned Germany a 1-0 win over France and a place in the FIFA World Cup semi-finals for the fourth time in succession.
The Borussia Dortmund defender missed the last-16 victory over Algeria as a result of flu-like symptoms, with the bug having also affected a number of the squad in the build-up to Friday's game.
Hummels, however, showed now ill-effects of any sickness in the 12th minute, rising highest to head home Toni Kroos' free-kick from the left and hand Germany victory at the Maracana.
Such consistent performers throughout World Cup history with seven final appearances, Germany once again showed their ability to grind out results in major tournaments as they successfully stifled France, Manuel Neuer showing great athleticism to thwart Karim Benzema in stoppage time.
The second period was a surprisingly turgid affair, with France showing no real urgency to find an equaliser and get back into the quarter-final clash until the last 15 minutes.
For Didier Deschamps' men, a competition that had promised so much after the group-stage thumpings of Honduras and Switzerland ended in bitter disappointment, as France failed to gain revenge for semi-final defeats to West Germany at the 1982 and 1986 editions.
Germany made the better start, but it was France who had the first effort on goal in the seventh minute when Benzema volleyed Mathieu Valbuena's chipped pass narrowly wide.
Hummels made France pay for that miss five minutes later when he broke the deadlock with his second goal of the 2014 World Cup, the defender beating Raphael Varane to Kroos' set-piece and glancing a header in off the underside of the crossbar.
Twice Germany had appeals for penalties waved away, claiming fouls by Mathieu Debuchy on Miroslav Klose and Thomas Muller, but on each occasion referee Nestor Pitana signalled for play to continue.
Neuer was finally called into action for the first time 11 minutes before the break, reacting brilliantly to keep out Valbuena's left-footed volley, before Hummels deflected Benzema's rebound over the bar.
Benzema continued to threaten as half-time approached, seeing his header blocked by the body of Hummels and then firing a strike straight at Neuer after cutting in from the left shortly afterwards.
France cautiously pressed for an equaliser after the break, but Varane's header from Valbuena's right-wing cross on the hour-mark was comfortable for Neuer.
Muller almost put the result beyond doubt nine minutes later, but his shot from an angle was deflected narrowly wide by Mamadou Sakho, although the officials failed to spot the deviation and awarded a goal-kick only.
Andre Schurrle replaced Klose - still seeking the goal that will see him become the World Cup's all-time leading scorer outright - and tested Hugo Lloris with a low drive that the Tottenham man was equal to.
Benzema worked some space inside the area with 14 minutes to play, but once again Hummels was there to block and Neuer parried away Blaise Matuidi's effort from a tight angle.
With France forced to push men forward, they left themselves vulnerable on the break and Lloris saved well from Schurrle, who ought to have done better eight minutes from time.
Neuer then palmed away Benzema's angled drive late on as Germany held on to seal yet another semi-final berth and send France crashing out.
The power of football: Mooy inspires young cancer patient
Caltex Socceroos star Aaron Mooy had plenty of admirers for his performances at the 2018 FIFA World Cup, but probably none more special than young Bella. Bella is battling brain cancer and started chemotherapy last year, with the treatment seeing the young girl lose all her ha
Aussies Abroad weekend wrap: how did your Caltex Socceroos perform?
Missed your Caltex Socceroos in action over the weekend? We've got you covered. Every week we're wrapping up all the club football action involving our Aussies abroad. AUSSIES ABROAD: Rogic, Ryan and Mabil impress in Europe PROGRESS REPORT: Mark Milligan 'AMAZING': Pat
Milicic hails Young Socceroos after crucial win over Vietnam
Ante Milicic has praised the character of his Young Socceroos after they overcame illness and a desperate opponent to record a vital 2-1 win over Vietnam at the AFC U-19 Championships on Monday night. Newcastle Jets attacker Angus Thurgate and Ipswich Town’s Ben Folami scored