Skip to content

Commit f80cd06

Browse files
authored
Merge pull request #419 from mbaldessari/common-automatic-update
Record the exit code at the right time
2 parents 9b33c4f + e77f1e5 commit f80cd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/scripts/deploy-pattern.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ echo -n "Installing pattern: "
77
for i in $(seq 1 ${RUNS}); do \
88
exec 3>&1 4>&2
99
OUT=$( { helm template --include-crds --name-template $* 2>&4 | oc apply -f- 2>&4 1>&3; } 4>&1 3>&1)
10-
exec 3>&- 4>&-
1110
ret=$?
11+
exec 3>&- 4>&-
1212
if [ ${ret} -eq 0 ]; then
1313
break;
1414
else

0 commit comments

Comments
 (0)