Treat FTL return data as strings (#5509)

This commit is contained in:
yubiuser 2023-12-09 18:35:14 +01:00 committed by GitHub
commit 2529fbeacd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -133,7 +133,7 @@ GetFTLData() {
if [ "${status}" = 200 ]; then
# response OK
echo "${data}"
printf %s "${data}"
elif [ "${status}" = 000 ]; then
# connection lost
echo "000"