Mark Greatbatch would have been forgiven for gloating a little.
Warwickshire's under-fire coach had endured a traumatic few days. The crushing loss against Yorkshire was followed by a difficult night trying to placate angry fans at a supporters' forum amid dire prophecies that his side were slipping inexorably towards the second division of the County Championship.
Yet by taking 21 points from a team that topped the table before the game, Warwick-shire go back to fifth in Division One, with a reassuring buffer against relegation trouble. So what's all the fuss been about?
To his credit, however, Warwickshire's director of coaching didn't pretend that this was the panacea to all Warwickshire's ills. He revelled in the improvements but accepted that victory shouldn't mask the lingering concerns. The win is hugely welcome, but it would be naive and erroneous to believe that all is now well at Edgbaston.
"Where we are is not where we want to be," Greatbatch said. "We've not been performing consistently and the real test will come next week when we play Nottinghamshire. We need to start winning three or four in a row before we can talk about picking up any momentum.
"In this game, we dominated for two days but then gave it back to them. But I was pleased with the way the team hung in there and supported one another, particularly when they were 150 for one in their second innings. They showed their character."
Even if Warwickshire had lost - and this match was perhaps not quite so close as the narrow margin suggests - they would have been able to take some positives out of this game. Nick Knight's return to form, Neil Carter's fine bowling and the continued effectiveness of Paul Harris all bode well for the remainder of the campaign.
Yet the most reassuring aspect of the game was the return of some fight to the side. The contributions of Jimmy Anyon, Tim Ambrose, Michael Powell and Ian Westwood were all crucial and helped shape a game that could have slipped away on several occasions.
Whatever the fall-out of the Scarborough debacle and the supporters' forum, it does appear to have concentrated minds. Warwickshire looked more of a unit than has been the case for many weeks. While in previous games they have been reliant on two or three players per game, this time seven or eight of the team can take real pride in their performances.
Concerns remain, however. The second-innings collapse against Mushtaq Ahmed again showed up this side's problems in dealing with spin bowling, while the absence of a fourth seamer also told at times.
The fielding has also declined. This game could have been wrapped up much earlier had any one of several throws hit the stumps and it is surely no coincidence that standards have dropped since Trevor Penney departed.
Warwickshire lost seven wickets for 52 on Saturday morning, allowing Sussex back into a game that appeared settled. Well though Mushtaq bowled, turning the ball both ways and demonstrating a devastating flipper, Warwickshire will reflect that they batted with little confidence or nous. They looked like a team that was out of the habit of winning.
As a result of the problems against spin the club will trial Merlyn - the revolutionary bowling machine that can replicate the ability of any bowler - in September.
Only Ian Westwood - with his second half-century in successive games - resisted. Westwood, defending doggedly and concentrating hard, was the only man to pass 19 and again showed the fighting qualities that could see him help fill the void left by the retirement of Knight.
Even though the target of 270 was probably 80 or so fewer than anticipated, it was always likely to prove testing on a pitch of increasingly uneven bounce. Heath Streak, finding sharp movement off the pitch, bowled with more pace than for some weeks, and soon had Carl Hopkinson caught behind nibbling at a leg-cutter.
At 152 for one, however, even the most faithful supporter was growing nervous. Richard Montgomerie - once a Warwickshire under-19 captain - and Michael Yardy, appeared comfortable for a time and added 138 to put their side firmly on course for victory, before Harris dismissed the pair of them and precipitated a collapse that saw Sussex lose their last nine wickets for just 104 runs.
Increasingly Harris is looking like a shrewd signing. It was his second five-wicket haul in as many games and he has already taken more Championship wickets than Alex Loudon in five fewer games.
South Africa's selectors could be forgiven for looking at his performances with some envy. Their Test spinner, Nicky Boje, conceded 221 from 65 wicketless overs against Sri Lanka, and it would be typical of Warwickshire's luckless year if they were to summon Harris to Sri Lanka.
Although he didn't achieve the turn available to Mushtaq, the left-arm spinner bowled an immaculate leg-stump line and allowed the batsmen very few scoring opportunities. Well supported by the excellent Anyon, Harris built up the pressure on the batsmen and waited for them to make mistakes.
"Sussex didn't play me well," he admitted with both modesty and accuracy. "It wasn't as if every ball spun. But all their batsmen have batting egos and they like to prove they can score quickly. If you can keep it tight they tend to get a bit frustrated."
Not for a moment of the final day did Sussex appear to be likley winners. Murray Goodwin lasted just three balls, playing well forward by edging a perfect delivery to slip, before the last specialist batsman, Matt Prior, drove recklessly to cover.
Anyon, bowling with good pace and hitting an excellent length just outside off stump, proved the perfect foil, though Carter also found his line after a disappointing first spell. There was some peculiar batting, too. Mushtaq missed an ugly slog across the line before Jason Lewry - backing away and attemtping a horrible swipe - all but surrendered his wicket. For Sussex defeat was a hammer blow. They now trail Lancashire by a point at the top of the table having played a game more. Their record at Edgbaston is dreadful, with the last win coming in 1982.
* Moeen Ali has been named in Warwickshire's squad for tomorrow's floodlit pro-40 game against Middlesex at Edgbaston. The 19-year-old has been recalled from England under-19 duty and could replace the injured Dougie Brown in the side. Ali, who is out of contract in September, has already been the object of interest from other counties and hasn't played for the Warwickshire first team since mid-June.