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

Add inspec exit code 101 to the approved list #170

Merged
merged 1 commit into from
Mar 5, 2018
Merged

Conversation

jquick
Copy link
Contributor

@jquick jquick commented Mar 5, 2018

This adds 101 to the list of approved exit codes. This allows kitchen-inspec to exit cleanly if we have a 0 or 101.

Ex: (before and after)
screen shot 2018-03-05 at 2 02 59 pm

Errors will continue to exit with errors:
screen shot 2018-03-05 at 2 08 50 pm

Fixes inspec/inspec#2773

Signed-off-by: Jared Quick [email protected]

@jquick jquick requested a review from a team as a code owner March 5, 2018 19:08
@jquick jquick changed the title Add exit code 101 to return before raise. Add inspec exit code 101 to the approved list Mar 5, 2018
Copy link

@jerryaldrichiii jerryaldrichiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it, good catch @jquick!

@jquick jquick added the bug label Mar 5, 2018
Copy link
Collaborator

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jquick

@jquick jquick merged commit 7202925 into master Mar 5, 2018
@jquick jquick deleted the jq/capture_exit_101 branch March 5, 2018 20:04
@tas50 tas50 added Type: Bug Doesn't work as expected. and removed bug labels Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Doesn't work as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants