fix printing cache

This commit is contained in:
rootzoll
2021-07-02 13:31:00 +02:00
parent eecfdb788a
commit f542264bc3

View File

@@ -23,7 +23,7 @@ if [ "$1" = "peer-status" ]; then
cacheExists=$(ls /var/cache/raspiblitz/temp/network.monitor.peer-status.cache | grep -c "etwork.monitor.peer-status.cache")
if [ "${cacheExists}" == "1" ]; then
echo "cached=1"
cat ls /var/cache/raspiblitz/temp/network.monitor.peer-status.cache
cat /var/cache/raspiblitz/temp/network.monitor.peer-status.cache
exit 1
else
echo "cached=0"