little-angry-clouds / kubernetes-binaries-managers

Kubernetes related binaries manager.
GNU General Public License v3.0
101 stars 11 forks source link

helmenv: Exit with 1 when a binary could not be downloaded #46

Open gcavalcante8808 opened 11 months ago

gcavalcante8808 commented 11 months ago

Hey!

Right now, when helmenv tries to download a binary and fails, it exits with 0:

image

But this behavior should be changed for an exit with 1 instead, because in fact an error ocurred.

If desirable I can try to make a PR for it. What you do you think?

Thanks in advance!