mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 20:58:37 -06:00
Do not echo try variable
This commit is contained in:
parent
4accd2dce8
commit
238e10cc63
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ echo "$(date) | Starting check..."
|
||||||
try=0
|
try=0
|
||||||
while : ; do
|
while : ; do
|
||||||
try=$(($try+1))
|
try=$(($try+1))
|
||||||
echo $try
|
|
||||||
[ $try -gt 10 ] && echo "API error!" && exit 2
|
[ $try -gt 10 ] && echo "API error!" && exit 2
|
||||||
curl -X 'GET' 'https://releases.revanced.app/tools' -H 'accept: application/json' -o latest_versions.json
|
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
|
cat latest_versions.json | jq -e '.error' >/dev/null || break
|
||||||
|
|
Loading…
Reference in a new issue