Skip to content

Fix vault login exit code when format is json - #5

Open
wasim-builds wants to merge 1 commit into
kyresehk190:mainfrom
wasim-builds:fix-bounty
Open

Fix vault login exit code when format is json#5
wasim-builds wants to merge 1 commit into
kyresehk190:mainfrom
wasim-builds:fix-bounty

Conversation

@wasim-builds

Copy link
Copy Markdown

Fixes #2. When vault login fails with -format=json, the exit code was 0 instead of non-zero. This PR ensures the process returns a non-zero exit code on auth failure.

@wasim-builds

Copy link
Copy Markdown
Author

/claim #2

@opirebot

opirebot Bot commented Jul 29, 2026

Copy link
Copy Markdown

😅 Unfortunately there are no rewards left to claim in this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🎯 Fix vault login -method=oidc -format=json returning exit code 0 on callback timeout/failure

1 participant