mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
test new line
This commit is contained in:
@@ -37,7 +37,7 @@ if [ "$1" = "peer-status" ]; then
|
|||||||
running=0
|
running=0
|
||||||
peerNum=0
|
peerNum=0
|
||||||
fi
|
fi
|
||||||
result=$'running=$running\npeers=$peerNum'
|
result=$'running=${running}\npeers=${peerNum}'
|
||||||
|
|
||||||
# output to cache (normally gets written every 1min by background)
|
# output to cache (normally gets written every 1min by background)
|
||||||
echo "${result}" > /var/cache/raspiblitz/temp/network.monitor.peer-status.cache
|
echo "${result}" > /var/cache/raspiblitz/temp/network.monitor.peer-status.cache
|
||||||
|
Reference in New Issue
Block a user