It wasn’t pretty, but a win is a win is a win, and the Packers will take it.

Green Bay held off Tampa Bay and undrafted rookie quarterback Jalon Daniels 17-14. The Packers are 2-2, and the Bucs 0-4.

The Bucs were playing without starting quarterback Baker Mayfield, who will miss at least three games with a fractured right thumb. Daniels at least kept it interesting, though his two interceptions led to 10 Packers points.

He completed 19 of 27 passes for 148 yards with a touchdown and two interceptions.

The Bucs reached the Green Bay 46 with 1:54 remaining before an incompletion, a sack, a 5-yard completion and another incompletion with Daniels under pressure on fourth-and-11.

The Bucs had 275 yards, with Bucky Irving rushing for 61 yards on 16 carries. Sean Tucker scored on a 2-yard run.

Jordan Love threw an interception with the Packers at the Tampa Bay 26, with safety Jacob Parrish picking the pass intended for Matthew Golden at the Tampa Bay 7. That gave the Bucs hope with 4:46 left, but the Packers defense gave up only 38 yards in 10 plays for the win.

The Packers had 283 yards, with Love going 22-of-30 for 197 yards with two touchdowns and an interception. He hit Golden for a 2-yard touchdown and Tucker Kraft for a 2-yard score.

Christian Watson made three catches for 47 yards and Kaleb Johnson ran for 42 yards on eight carries.

The Packers lost starting linebacker Edgerrin Cooper to an Achilles injury in the second half after he had a sack and an interception.