result with newline

This commit is contained in:
rootzoll
2021-07-02 13:54:39 +02:00
parent 89f8605568
commit edd3239885

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