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 fi
sleep ${toString delaySec} sleep ${toString delaySec}
done done
if [[ "$i" > "${toString maxRetries}" ]] if [[ "$i" -gt "${toString maxRetries}" ]]
then then
echo "error, max attempts to access "${url}" have been used unsuccessfully!" echo "error, max attempts to access "${url}" have been used unsuccessfully!"
exit 124 exit 124