David Moyes was unhappy with aspects of West Ham's performance but declared it "job done" after they clung on for a 3-2 Europa Conference League win at Danish side Silkeborg.
Italy striker Gianluca Scamacca, a £30million summer signing from Sassuolo, hit a stunning 20-yard strike in between a penalty from Manuel Lanzini and Craig Dawson's header.
But it was not all plain sailing for Moyes' side as, just as they had against Romanian side FCSB a week ago, they conceded the first goal, this time through a neat finish by Kasper Kusk.
And they were hanging on for the final 15 minutes after Soren Tengstedt pulled one back, before eventually making it two wins from two in Europe this season to top Group B.
Moyes told BT Sport: "Bits and pieces I liked, bits and pieces I didn't. When it was 3-1 it should have been comfortable.
"We started making poor decisions on the counter attack, which I'm annoyed about, and a couple of poor decisions defensively.
"But look, we got the job done. Away from home, winning in Europe is not easy."
Dawson was making his first start of the season after recovering from an injury sustained over the summer.
He said: "They made it difficult for us towards the end. The performance wasn't great. It's a difficult pitch to play on, it was a bit sloppy but we got the three points.
"They're a good side and play great football. They know the pitch better than us. At times we were sloppy but we got the job done.
"It's great to be back. It's been a while."
The defender was close to leaving West Ham on deadline day but a move to a Midlands club, where he could be closer to his family, failed to materialise.
Captain Declan Rice said: "I'm happy for Craig. He has had a tough couple of months but I'm delighted he's with us. The fans love him. We love him."
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here