Skip to content

Conversation

@s3mme
Copy link

@s3mme s3mme commented Aug 1, 2024

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.
@itaibez
Copy link

itaibez commented Aug 13, 2025

+1 for this

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

2 participants