Skip to content

Commit fc1c9a3

Browse files
committed
Change eq to ne
1 parent 8aa7eb5 commit fc1c9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/util/execute_and_retry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ execute_and_retry () {
1111
attempt_failed=0
1212
eval "$2" || attempt_failed=$?
1313

14-
if [ $attempt_failed -eq 1 ]; then
14+
if [ $attempt_failed -ne 0 ]; then
1515
eval "$3"
1616
retry_counter=$(($retry_counter+1))
1717
sleep 5

0 commit comments

Comments
 (0)