Scripts break if /etc/wsl.conf has 'root' #200
Labels
Bug
This is either an issue that describes a bug or a PR that resolves a bug
Status: Pending Release
This is fixed but not yet released.
Target: 3.x
This is targeted to the 3.x version.
Target: 4.x
This is targeted to the 4.x release.
The following line here is problematic:
wslu/src/wslu-header
Line 115 in bc88950
It causes all the wsl utilities to break when
/etc/wsl.conf
has the wordroot
in places other than the name of a property:For example:
Causes the interop_prefix to be set
/\nroot
which is clearly invalid.Here is a simple fix (I don't know
awk
so there's probably a better one):The text was updated successfully, but these errors were encountered: