Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Silently fails if bash is invoked with -e #30

Closed
LisannaAtHome opened this issue Nov 29, 2017 · 1 comment
Closed

Silently fails if bash is invoked with -e #30

LisannaAtHome opened this issue Nov 29, 2017 · 1 comment
Assignees

Comments

@LisannaAtHome
Copy link

LisannaAtHome commented Nov 29, 2017

Invoking a script generated by argbash with -e set (either with set -e at the top or running it with bash -e) will make handle_passed_args_count fail silently with error code 1, since I guess the test command actually fails by design (returns 1) if all the correct arguments are supplied.

@matejak matejak self-assigned this Nov 30, 2017
@matejak
Copy link
Owner

matejak commented Nov 30, 2017

Good catch, it will be fixed in the next bugfix release that is around the corner.

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

No branches or pull requests

2 participants