Skip to content

Commit

Permalink
Fix operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Luzifer committed Sep 16, 2024
1 parent c7a3755 commit b1e0fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$(dirname $0)/git.bin "$@"
EC=$?

if [ "$1" = "checkout" -a -d ".git-crypt" -f ".git-crypt-key" -a ! "$GIT_CRYPT_RUNNING" = "true" ]; then
if [ "$1" = "checkout" -a -d ".git-crypt" -a -f ".git-crypt-key" -a ! "$GIT_CRYPT_RUNNING" = "true" ]; then
export GIT_CRYPT_RUNNING=true
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="${VAULT_ROLE_ID:-}")

Expand Down

0 comments on commit b1e0fe7

Please sign in to comment.