Skip to content

Commit

Permalink
feat: Use 'set -e' to abort on first error
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
4censord authored Feb 13, 2025
1 parent fb58ffb commit d4e6b8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/vault-snapshot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env sh

set -e

# authenticate using kubernetes auth
JWT=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)
export JWT
Expand Down

0 comments on commit d4e6b8b

Please sign in to comment.