Skip to content

dkms: Do not error when --rpm_safe_upgrade triggered correctly#585

Merged
scaronni merged 1 commit into
dkms-project:mainfrom
blochl:lb-dev
Apr 27, 2026
Merged

dkms: Do not error when --rpm_safe_upgrade triggered correctly#585
scaronni merged 1 commit into
dkms-project:mainfrom
blochl:lb-dev

Conversation

@blochl

@blochl blochl commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

When --rpm_safe_upgrade scenario is detected and dkms remove is canceled because of it, it is a correct behavior, not an error (and the exit code was indeed correctly 0). Remove the error message in such a case, and replace it with a warning, keeping the 0 exit code.

When --rpm_safe_upgrade scenario is detected and 'dkms remove' is canceled
because of it, it is a correct behavior, not an error (and the exit code was
indeed correctly 0). Remove the error message in such a case, and replace it
with a warning, keeping the 0 exit code.

Signed-off-by: Leonid Bloch <lb.workbox@gmail.com>
@scaronni scaronni self-assigned this Apr 27, 2026
@scaronni scaronni merged commit 799bcb4 into dkms-project:main Apr 27, 2026
25 of 32 checks passed
@blochl blochl deleted the lb-dev branch April 27, 2026 10:43
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.

2 participants