From 3c4e98cce2029af4597b353de67f708a80386946 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 29 Mar 2020 11:20:29 +0200 Subject: [PATCH] Fix retry on shippable setup. (#61) --- tests/utils/shippable/shippable.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index d71167b9c6..8fa4ac4dd3 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -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