test new line

This commit is contained in:
rootzoll 2021-07-02 13:56:20 +02:00
parent 9d1e9eb1af
commit c4258db23a

View File

@ -37,7 +37,7 @@ if [ "$1" = "peer-status" ]; then
running=0
peerNum=0
fi
result=$'running=$running\npeers=$peerNum'
result=$'running=${running}\npeers=${peerNum}'
# output to cache (normally gets written every 1min by background)
echo "${result}" > /var/cache/raspiblitz/temp/network.monitor.peer-status.cache