mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-22 16:10:55 +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")
|
cacheExists=$(ls /var/cache/raspiblitz/temp/network.monitor.peer-status.cache | grep -c "etwork.monitor.peer-status.cache")
|
||||||
if [ "${cacheExists}" == "1" ]; then
|
if [ "${cacheExists}" == "1" ]; then
|
||||||
echo "cached=1"
|
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
|
exit 1
|
||||||
else
|
else
|
||||||
echo "cached=0"
|
echo "cached=0"
|
||||||
|
Reference in New Issue
Block a user