mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-12-24 12:28:38 +00:00
Treat FTL return data as strings
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -93,7 +93,7 @@ GetFTLData() {
|
||||
|
||||
if [ "${status}" = 200 ]; then
|
||||
# response OK
|
||||
echo "${data}"
|
||||
printf %s "${data}"
|
||||
elif [ "${status}" = 000 ]; then
|
||||
# connection lost
|
||||
echo "000"
|
||||
|
||||
Reference in New Issue
Block a user