[Dnsmasq-discuss] dnsmasq --test > output to stderr
Ercolino de Spiacico
bellocarico at hotmail.com
Wed Mar 23 21:02:01 UTC 2022
It seems like "dnsmasq --test" redirects the output "syntax check OK"
message to stderr (2) by default:
root at sparrow:/tmp# dnsmasq --test
dnsmasq: syntax check OK.
root at sparrow:/tmp# dnsmasq --test 1>/dev/null
dnsmasq: syntax check OK.
root at sparrow:/tmp# dnsmasq --test 2>/dev/null
root at sparrow:/tmp#
Is this meant to be? If so is there any alternative way I could print
out only configuration issues and ignore "syntax check OK" messages?
Thanks
More information about the Dnsmasq-discuss
mailing list