Skip to content

Commit

Permalink
Merge pull request #120 from mbaldessari/common-automatic-update
Browse files Browse the repository at this point in the history
Record the exit code at the right time
  • Loading branch information
mbaldessari authored Oct 24, 2024
2 parents 7066792 + 34010bc commit 8303530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/scripts/deploy-pattern.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ echo -n "Installing pattern: "
for i in $(seq 1 ${RUNS}); do \
exec 3>&1 4>&2
OUT=$( { helm template --include-crds --name-template $* 2>&4 | oc apply -f- 2>&4 1>&3; } 4>&1 3>&1)
exec 3>&- 4>&-
ret=$?
exec 3>&- 4>&-
if [ ${ret} -eq 0 ]; then
break;
else
Expand Down

0 comments on commit 8303530

Please sign in to comment.