mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Fix quoting for dnsmasq_info(). Resolves #1738
This commit is contained in:
parent
d689024c1f
commit
739057c7ac
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user