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

Convert all exit codes to range 0-255 #597

Merged
merged 2 commits into from Dec 22, 2016
Merged

Convert all exit codes to range 0-255 #597

merged 2 commits into from Dec 22, 2016

Conversation

shefty
Copy link
Member

@shefty shefty commented Dec 22, 2016

adds function to ensure all exit codes are in range. If we later decide to limit which exit codes to use (say only 0-2), we only need to update a single function to update all tests.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
All exit codes need to be in the range 0-255.  Convert values
outside of that range to 1 (EXIT_FAILURE).

Fixes ofiwg#596

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
@shefty shefty merged commit 2b94605 into ofiwg:master Dec 22, 2016
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

1 participant