I think the hubby did the right thing. I would have added "time out" to the discipline - 10 to 15 mins and/or taken a privilege or toy away from him.
I think that for some non-optimal behavior that may occur regularly, hubby and wife should have set of disciplinary actions that they agree upon ahead of time to implement with the child that are done on a gradient scale. - For example, first time it happens, take a toy away, 2nd time it happens, sit in a corner, etc. My son usually understands when we send him to "time out", but we also have to follow up with letting him know the correct or appropriate action to do in place of the incorrect action. After the punishment, we let him know that we love him and that what he did was not ok and give him a hug. He is very sensitive and we are aware of that, but don't let him get away with things.
Sometimes it is EXHAUSTING to implement discipline over and over, but I have to remind myself that if I don't do it, someone else will later in life, (maybe a bully or worse), and that may be a far more painful lesson than what he gets from us parents now.