Skip to content

Commit

Permalink
Exit with a 0 exit code in the exit_trap function
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Oct 8, 2024
1 parent 4a2455e commit 21188ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ exit_trap() {
# See: install_nodejs.sh
[[ -d "${TMP_DIR}/node${NODE_VERSION}" ]] && rm -rf "${TMP_DIR}/node${NODE_VERSION}"
[[ -f "${TMP_DIR}/node${NODE_VERSION}.tar.gz" ]] && rm -rf "${TMP_DIR}/node${NODE_VERSION}.tar.gz"
true
}
trap exit_trap EXIT

Expand Down

0 comments on commit 21188ba

Please sign in to comment.