mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
interpret any code below 300 as success
This commit is contained in:
parent
efb66cad20
commit
ba101573d6
@ -18,8 +18,7 @@ do
|
||||
then
|
||||
echo "${status_code} received, encountered problem, halting."
|
||||
exit 1
|
||||
elif [[ $status_code -gt 200 ]]
|
||||
then
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
attempt=$(( attempt + 1 ))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user