Merge pull request #1739 from RaspAP/fix/debug-log

Fix quoting for dnsmasq_info()
This commit is contained in:
Bill Zimmerman 2025-01-30 08:23:56 +01:00 committed by GitHub
commit b9842b5462
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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