Thanks for the report.
This bug was hidden by another bug which made WSL2 detection fail until this PR was merged https://github.com/snapcore/snapd/pull/12135/files. Seems like two wrongs made a right.
As you observed, PR https://github.com/snapcore/snapd/pull/12179 will fix this, and only disable snap on WSL1 as was originally intended.
Thanks for the report.
This bug was hidden by another bug which made WSL2 detection fail until this PR was merged https:/ /github. com/snapcore/ snapd/pull/ 12135/files. Seems like two wrongs made a right.
As you observed, PR https:/ /github. com/snapcore/ snapd/pull/ 12179 will fix this, and only disable snap on WSL1 as was originally intended.