Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Without credentials should have non-zero exit status #5

Closed
iain opened this issue Sep 7, 2018 · 2 comments
Closed

Without credentials should have non-zero exit status #5

iain opened this issue Sep 7, 2018 · 2 comments

Comments

@iain
Copy link

iain commented Sep 7, 2018

Currently if you run the command, and you haven't set up AWS credentials properly, it won't execute your command, but have a zero exit status, suggesting that everything went okay. Wouldn't it make more sense if it exited with a non-zero status?

Example:

bash-4.4# env-aws-params --prefix /foobar /bin/ls && echo $?
ERROR: NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
0
@gmr
Copy link
Owner

gmr commented Sep 7, 2018

That does make sense

@dave-shawley
Copy link
Contributor

This should be fixed by #18

@gmr gmr closed this as completed Jul 28, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants