fix forgejo,auth: curl waiting failure condition
This commit is contained in:

committed by
Inex Code

parent
952b660aae
commit
356f9ddb91
@@ -313,7 +313,7 @@ in
|
||||
fi
|
||||
sleep ${toString delaySec}
|
||||
done
|
||||
if [[ "$i" > "${toString maxRetries}" ]]
|
||||
if [[ "$i" -gt "${toString maxRetries}" ]]
|
||||
then
|
||||
echo "error, max attempts to access "${url}" have been used unsuccessfully!"
|
||||
exit 124
|
||||
|
Reference in New Issue
Block a user