Skip to content

Commit

Permalink
Use exec for the terraform command to avoid problem in SIGTERM (tfuti…
Browse files Browse the repository at this point in the history
  • Loading branch information
pecigonzalo authored and Zordrak committed Jul 24, 2019
1 parent 1ac0b66 commit c3f5d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/tfenv-exec
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ set -e
export TFENV_VERSION="$(tfenv-version-name)"
TF_BIN_PATH="${TFENV_ROOT}/versions/${TFENV_VERSION}/terraform"
export PATH="${TF_BIN_PATH}:${PATH}"
"${TF_BIN_PATH}" "${@}"
exec "${TF_BIN_PATH}" "${@}"

0 comments on commit c3f5d5e

Please sign in to comment.