fix forgejo,auth: curl waiting failure condition

This commit is contained in:
Alexander Tomokhov
2025-04-18 01:26:41 +04:00
committed by Inex Code
parent 952b660aae
commit 356f9ddb91

View File

@@ -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