Do not echo try variable
This commit is contained in:
parent
4accd2dce8
commit
238e10cc63
|
@ -102,7 +102,6 @@ echo "$(date) | Starting check..."
|
|||
try=0
|
||||
while : ; do
|
||||
try=$(($try+1))
|
||||
echo $try
|
||||
[ $try -gt 10 ] && echo "API error!" && exit 2
|
||||
curl -X 'GET' 'https://releases.revanced.app/tools' -H 'accept: application/json' -o latest_versions.json
|
||||
cat latest_versions.json | jq -e '.error' >/dev/null || break
|
||||
|
|
Loading…
Reference in New Issue