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

Fixes #36369 - Exit code 0 is a valid exit status #729

Merged
merged 1 commit into from
May 8, 2023

Conversation

sayan3296
Copy link
Contributor

Right now in yum.rb, we only consider exit code 100 as the code_of_success.

But if no package updates are available, Then foreman-maintain fails the check-update step as the exit code, in this case, would be 0.

If no package updates are present and the exit code from yum is 0, then also the check-update action should pass as a successful execution.

@theforeman-bot
Copy link
Member

Issues: #36369

@ehelms ehelms merged commit f4f5e62 into theforeman:master May 8, 2023
7 checks passed
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

3 participants