diff --git a/ops/scripts/batches.sh b/ops/scripts/batches.sh index afb2eb10626b..09c77db93c5c 100755 --- a/ops/scripts/batches.sh +++ b/ops/scripts/batches.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + RETRIES=${RETRIES:-40} if [[ ! -z "$URL" ]]; then diff --git a/ops/scripts/dtl.sh b/ops/scripts/dtl.sh index d9407b7ca7bc..7b97b0fa89c8 100755 --- a/ops/scripts/dtl.sh +++ b/ops/scripts/dtl.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + RETRIES=${RETRIES:-60} if [[ ! -z "$URL" ]]; then diff --git a/ops/scripts/geth.sh b/ops/scripts/geth.sh index 1767c0ef386c..2022d892f55f 100755 --- a/ops/scripts/geth.sh +++ b/ops/scripts/geth.sh @@ -1,4 +1,8 @@ -#!/bin/bash +#!/bin/sh + +# FIXME: Cannot use set -e since bash is not installed in Dockerfile +# set -e + RETRIES=${RETRIES:-40} VERBOSITY=${VERBOSITY:-6} diff --git a/ops/scripts/relayer.sh b/ops/scripts/relayer.sh index cca456fd4aa5..fddd0f48f94d 100755 --- a/ops/scripts/relayer.sh +++ b/ops/scripts/relayer.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + RETRIES=${RETRIES:-60} if [[ ! -z "$URL" ]]; then