The way they played two weeks ago, when everything that could go wrong did, the White Sox would have found a way to lose Tuesday.

But the White Sox continued a trend of solid all-around play even when it appeared forces had conspired against them yet again.

On a night when they learned Chris Sale won’t make his next start and the team made another late error, the White Sox fought their way to a 3-1 victory over the Boston Red Sox in front of 21,984 at U.S. Cellular Field.

Jose Quintana pitched 6 1/3 hitless innings, the bullpen made several big pitches and Jeff Keppinger and Alex Rios provided enough offense to lift the White Sox to a fourth straight win in games decided by two runs or fewer. The streak has helped the White Sox improve their season record in contests decided by two or fewer runs to 13-14.

“We're hitting better,” said Keppinger, who hit his first home run of the season. “That's going to help our pitching staff, and that's obviously been pretty good all year long. It seems like we've lost a lot of one-run games over the last month-and-a-half, and if our offense can pick it up we're going to win those games.”

Quintana made it pretty easy on his teammates.

The left-hander worked ahead in the count all evening and kept Red Sox hitters off-balance until the seventh. Catcher Tyler Flowers said Quintana was able to elevate a 93-mph fastball at times to ring up five strikeouts and keep a Boston offense second in the American League in runs hitless for six-plus innings.

Quintana walked batters in the second and sixth innings but in between recorded 12 straight outs.

“He threw the ball great all day,” Flowers said. “Even the hits he gave up weren’t bad pitches.”