mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-11 11:21:05 +00:00
Fix retry on shippable setup. (#61)
This commit is contained in:
@@ -29,8 +29,10 @@ python -V
|
||||
function retry
|
||||
{
|
||||
for repetition in 1 2 3; do
|
||||
set +e
|
||||
"$@"
|
||||
result=$?
|
||||
set -e
|
||||
if [ ${result} == 0 ]; then
|
||||
return ${result}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user