I think the problem is not about locale but the output dnsmasq --version. The code is trying to look for "version" instead of "Version".
I think the problem is not about locale but the output dnsmasq --version. The code is trying to look for "version" instead of "Version".