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
|
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
|
||||||
|
Reference in New Issue
Block a user