diff --git a/.github/scripts/retry-command.sh b/.github/scripts/retry-command.sh index 85ace489d140..76f0c902bae0 100755 --- a/.github/scripts/retry-command.sh +++ b/.github/scripts/retry-command.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 -set -euo pipefail +set -uo pipefail tries=5 count=0 @@ -14,5 +14,5 @@ do fi ((count++)) echo "trying again, attempt $count" - sleep 2 + sleep $count done