Bristol City manager, Gary Johnson, thought his side just about deserved to win this afternoon's friendly at Edgar Street.
"We didn't quite get our game together in the first half. I thought they had the better of it in the first 45 while we dominated the second half," Johnson told the Official Bristol City website.
"They scored against the run of play with a good free kick. It's so hard to defend when the ball is so close to the area but it shows you can't afford to giveaway free kicks in dangerous areas like that.
"We got further up the field and looked like scoring in the second half. We got more crosses, shots and people in the box and that earned us the luck with the own goal to win it.
"Hereford defended very well and the players threw their bodies in the way of the ball when it mattered. They provided us with a very stern test."