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

Remove --duplicates and --oldinstallonly exit with 0 when nothing to remove (RHEL-6424) #2076

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

pkratoch
Copy link
Contributor

@pkratoch pkratoch commented Apr 8, 2024

If no duplicates or no old installonly packages are present, then the command successfully removed all duplicates and should exit with 0 and write the message to stdout instead of stderr.

Resolves: https://issues.redhat.com/browse/RHEL-6424

Tests: rpm-software-management/ci-dnf-stack#1481

If no duplicates are present, then the command succesfully removed all
duplicates and should exit with 0 and write the message to stdout
instead of stderr.

Resolves: https://issues.redhat.com/browse/RHEL-6424
If no old installonly packages are present, then the command succesfully
removed all of them and should exit with 0 and write the message to
stdout instead of stderr.
Copy link
Member

@m-blaha m-blaha 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!

@m-blaha m-blaha merged commit 87eb5a7 into rpm-software-management:master Apr 8, 2024
7 of 11 checks passed
@pkratoch pkratoch deleted the remove-duplicates branch April 25, 2024 09:05
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

2 participants