Closed djneades closed 4 years ago
@djneades Thank you for the help. With your suggestion, WSLU can be fixed quickly
Thank you for the feedback. I am currently outside, will check it as soon as possible
Sorry for the late update, I am a bit busy recently. The problem is fixed and the update will be available tomorrow. Sorry for the long wait.
Describe the bug Following a recent update (i.e.
sudo dnf -y --refresh upgrade
), thewslvar -s
command has started showing a spurious error message relating to its invocation ofwhich
. For example:The line beginning
which: no …
in the above output should not be shown.Looking at the source of the
/usr/bin/wslvar
command included with Fedora Remix for WSL, this problem appears to be the result of the lastelif
in the following block of code:The Windows-style path in
baseexec
is not being converted to a Unix-style path prior to its being passed towhich
as an argument, resulting in the errors I am seeing. This change appears to have been introduced recently via this commit to wslutilities/wslu. I have left a suitable comment there suggesting a fix, but this problem is present in the current Fedora Remix for WSL and so I am raising this issue.To Reproduce Run the
wslvar
command. See above for an example.Fedora Remix for WSL Version 1.31.9.0
Windows Build