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

No error when purging sticky modules #502

Closed
xdelaruelle opened this issue Jun 27, 2023 · 1 comment
Closed

No error when purging sticky modules #502

xdelaruelle opened this issue Jun 27, 2023 · 1 comment
Milestone

Comments

@xdelaruelle
Copy link
Collaborator

Currently an error is raised when doing a module purge if some sticky modules are loaded.

This is done as purge should result in an empty loaded module list.

But some users may find this error disturbing as sticky module cannot be unloaded, so purge has performed well.

A configuration option may be introduced to change error into warning (or even no message at all) when hitting a sticky module during a module purge.

@adrien-cotte
Copy link
Contributor

I agree this option should have 3 options:

  • error (message + code 1)
  • warning (message + code 0)
  • silent (no message + code 0)

@xdelaruelle xdelaruelle added this to the 5.4.0 milestone Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants