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

Remove magic number #3

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

Remove magic number #3

wants to merge 1 commit into from

Conversation

jspc
Copy link

@jspc jspc commented May 8, 2018

Currently this tool throws exit(2) on error. This doesn't mean anything and is a magic number.

Instead this PR defines it as an error.

The choice of 2 is out of the scope of this PR.

@matryer
Copy link
Contributor

matryer commented May 9, 2018

@jspc fair enough. I like to avoid using CAPS as constant names, and maybe it should exit with 1 instead? There is nothing special, just need a non-zero exit code.

@jspc
Copy link
Author

jspc commented May 9, 2018 via email

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.

None yet

2 participants