Change 'while' style (#3365)

This commit is contained in:
Casper 2023-05-26 01:39:39 +02:00 committed by GitHub
parent 37ca0f9ba9
commit c2d0b748b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 22 additions and 44 deletions

View file

@ -15,8 +15,7 @@ if [[ ! ${UPDATE_CHECK_INTERVAL} =~ ^[0-9]+[smhd]{1}$ ]]; then
UPDATE_CHECK_INTERVAL='1d'
fi
while true
do
while true; do
# get remote version information
LATEST=$(curl -Lsf "${VERSION_URL}")