mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-31 01:24:17 +02:00
Treat FTL return data as strings - part II
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
248d25b8d0
commit
8733b429dd
@ -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