The guy was very lucky, never do this.
I heared from a deadly attack from a boar, friend went for fuel station to get gas for the car, as he camed back his girlfriend was killed by a boar..If she has piglets and feel threatened by you,than she will attack. Medieval German hunter used a spear with a piece of wood on the shaft to blockade the boar,as it so furious try to reach the hunter thats it rams itself the spear deeper in the body,crawling with the spear through his whole body to kill you.
so never try this