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 code 126 and 127 #378

Closed
wants to merge 1 commit into from
Closed

Correct exit code 126 and 127 #378

wants to merge 1 commit into from

Conversation

baude
Copy link
Member

@baude baude commented Feb 21, 2018

The exit codes for 126 and 127 were reversed. For the record, the exit
codes used are as follows:

  • 125 if ‘chroot’ itself fails
  • 126 if COMMAND is found but cannot be invoked
  • 127 if COMMAND cannot be found

This resolves issue #367

Signed-off-by: baude bbaude@redhat.com

The exit codes for 126 and 127 were reversed.  For the record, the exit
codes used are as follows:

* 125 if ‘chroot’ itself fails
* 126 if COMMAND is found but cannot be invoked
* 127 if COMMAND cannot be found

This resolves issue containers#367

Signed-off-by: baude <bbaude@redhat.com>
@mheon
Copy link
Member

mheon commented Feb 21, 2018

LGTM

Copy link
Member

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Choose a reason for hiding this comment

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

LGTM

@baude
Copy link
Member Author

baude commented Feb 21, 2018

@rh-atomic-bot r+

@rh-atomic-bot
Copy link
Collaborator

📌 Commit d846d3b has been approved by baude

@rh-atomic-bot
Copy link
Collaborator

⚡ Test exempted: merge already tested.

@baude baude deleted the 127 branch December 22, 2019 18:42
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants