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

Correct exit codes #202

Merged
merged 5 commits into from
Dec 18, 2017
Merged

Conversation

Doxterpepper
Copy link
Contributor

#201

Changing the exit code for ctrl-c to 130 and the code when printing to stdout to 1.

@sharkdp
Copy link
Owner

sharkdp commented Dec 17, 2017

Thank you very much!

Could we maybe introduce constants here to avoid those "magic numbers"? Like EXITCODE_ERROR = 1 and EXITCODE_TERMINATED_BY_SIGINT = 130?

@sharkdp sharkdp merged commit 4d66c84 into sharkdp:master Dec 18, 2017
@sharkdp
Copy link
Owner

sharkdp commented Dec 18, 2017

Thanks!

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.

2 participants