Skip to content

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

Open
s3mme wants to merge 1 commit intoticarpi:masterfrom
s3mme:feat/semantic-error-codes
Open

feat: exit with error code 0 when no error occured#116
s3mme wants to merge 1 commit intoticarpi:masterfrom
s3mme:feat/semantic-error-codes

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

2 participants