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

feat: exit with error code 0 when no error occured #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benzammour
Copy link

As the expected behavior of a gracefully finished program is the exit code 0, this PR changes the default exit code to 0 when no error occurs.
If an error occurs the program immediately exits with exit code 1, therefore, all non-successful cases should stay handled as well.

Fixes #49.

This changes the default exit code to 0 when no error occurs.
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.

Exit code 1 on success
1 participant