wsl-sudo
wsl-sudo copied to clipboard
Invoke admin wsl with same distribution as caller
If more than one distribution is installed WSL will use the default one. This commit makes sure it the admin WSL will run in the same WSL distribution as the one which caller wsl-sudo.
LGTM, this resolves #4 for me
(#4 may also result from a non-admin account, we could print a better error in a future PR)