mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
fix printing cache
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user