Code-insiders started from WSL doesn't return to console/ doesn't connect. Fixes microsoft/vscode-remote-release#780

This commit is contained in:
Martin Aeschlimann 2019-06-24 18:10:47 +02:00
parent 28a51a3f45
commit 99ebdaa7dc

View file

@ -16,7 +16,7 @@ if grep -qi Microsoft /proc/version; then
WSL_BUILD=18362
else
WSL_BUILD=$(uname -r | sed -E 's/^.+-([0-9]+)-Microsoft/\1/')
if ! [ -z "$WSL_BUILD" ]; then
if [ -z "$WSL_BUILD" ]; then
WSL_BUILD=0
fi
fi