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

Warning before unregistering #7049

Closed
xsrvmy opened this issue Jun 10, 2021 · 1 comment
Closed

Warning before unregistering #7049

xsrvmy opened this issue Jun 10, 2021 · 1 comment
Labels

Comments

@xsrvmy
Copy link

xsrvmy commented Jun 10, 2021

Is your feature request related to a problem? Please describe.
There is currently no warning if you run --unregister. The word "unregister" seems to indicate that the WSL distribution will simply be ignored by WSL. Instead the distribution file is deleted without warning. This is especially problematic with WSL2 because Linux files are usually stored in the distribution rather than on the windows FS.

Describe the solution you'd like
When running --unregister, a warning should appear, stating that the distribution's data will be deleted. The user should be required to confirm that this is the correct action. It may even be a good idea to ask the user to retype the distribution name like github does.

@xsrvmy xsrvmy added the feature label Jun 10, 2021
@craigloewen-msft
Copy link
Member

Hi @xsrvmy this is a behaviour change, and so not something we can implement without breaking existing users. Thank you for filing the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants