Skip to content

Commit

Permalink
Make pre-exit hook compatible with mac agents
Browse files Browse the repository at this point in the history
  • Loading branch information
buckner committed Oct 9, 2024
1 parent 850b34c commit d5162e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/pre-exit
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

if [[ -v BUILDKITE_OIDC_TMPDIR ]]; then
if [[ -n "${BUILDKITE_OIDC_TMPDIR:-}" ]]; then
rm -rf "$BUILDKITE_OIDC_TMPDIR"

echo "Removed credentials from $BUILDKITE_OIDC_TMPDIR"
Expand Down

0 comments on commit d5162e3

Please sign in to comment.