Skip to content

Commit 55c03a6

Browse files
committed
Retry command is evaluated
Previously the command was directly executed, but that caused problems passing in compound statements. Related: conjurinc/ops#423
1 parent 78ac6b4 commit 55c03a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function retry {
4646
fi
4747

4848
local count=0
49-
until "$@"; do
49+
until eval "$@"; do
5050
# Command failed, otherwise until would have skipped the loop
5151

5252
# Store return code so it can be reported to the user

0 commit comments

Comments
 (0)