mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-22 07:10:19 +00:00
Treat FTL return data as strings (#5509)
This commit is contained in:
commit
2529fbeacd
3 changed files with 8 additions and 8 deletions
|
@ -133,7 +133,7 @@ GetFTLData() {
|
|||
|
||||
if [ "${status}" = 200 ]; then
|
||||
# response OK
|
||||
echo "${data}"
|
||||
printf %s "${data}"
|
||||
elif [ "${status}" = 000 ]; then
|
||||
# connection lost
|
||||
echo "000"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue