Precaution yes, you did the right thing asking him what's going on, but you din't lock the gate so he might have went to the wrong place looking for "his mom". You really should have closed the gate to avoid this, people miss signs all the time.
When I lived rural dogs are always there for "protection" reason. Maybe not enough to save you but enough for trouble makers to think twice before attempting anything.
When I lived rural dogs are always there for "protection" reason. Maybe not enough to save you but enough for trouble makers to think twice before attempting anything.