mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-28 16:14:07 +02:00
Treat FTL return data as strings - part II (#6184)
This commit is contained in:
commit
6fe77ebeed
@ -226,7 +226,7 @@ GetFTLData() {
|
|||||||
# return only the data
|
# return only the data
|
||||||
if [ "${status}" = 200 ]; then
|
if [ "${status}" = 200 ]; then
|
||||||
# response OK
|
# response OK
|
||||||
echo "${data}"
|
printf %s "${data}"
|
||||||
else
|
else
|
||||||
# connection lost
|
# connection lost
|
||||||
echo "${status}"
|
echo "${status}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user