Fix quoting for dnsmasq_info(). Resolves #1738

This commit is contained in:
billz 2025-01-29 23:19:28 -08:00
parent d689024c1f
commit 739057c7ac

View File

@ -217,10 +217,10 @@ function _dnsmasq_info() {
if [ -f "$file" ]; then if [ -f "$file" ]; then
contents+="\n$file contents:\n" contents+="\n$file contents:\n"
contents+="$(cat $file)" contents+="$(cat $file)"
contents="${contents}$\n" contents+=$'\n'
fi fi
done done
_log_write $contents _log_write "$contents"
else else
_log_write "Not found: ${DNSMASQ_D_DIR}" _log_write "Not found: ${DNSMASQ_D_DIR}"
fi fi