code-insiders.sh prompts me for WSL although I do want to start the Linux version. Fixes #96555

This commit is contained in:
Martin Aeschlimann 2020-05-07 11:54:42 +02:00
parent 6074c9c516
commit c6ce623191

View file

@ -9,6 +9,7 @@ if grep -qi Microsoft /proc/version && [ -z "$DONT_PROMPT_WSL_INSTALL" ]; then
read -e -p "Do you want to continue anyways ? [y/N] " YN
[[ $YN == "n" || $YN == "N" || $YN == "" ]] && exit 1
echo "To no longer see this prompt, start @@PRODNAME@@ with the environment variable DONT_PROMPT_WSL_INSTALL defined."
fi