Very lucky. Shooting through a closed door isn't real sharp. It relies on the assumption that that person on the other side is really a Bad Guy and not a family member or friend.When the intruders went upstairs, the homeowner opened fire through a door, fatally wounding one of them. The person was pronounced dead at the scene.
Turned out OK in this case but still not a good idea.