From 99ebdaa7dc7592987aafa9ab88bd82633104a17e Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 24 Jun 2019 18:10:47 +0200 Subject: [PATCH] Code-insiders started from WSL doesn't return to console/ doesn't connect. Fixes microsoft/vscode-remote-release#780 --- resources/win32/bin/code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/win32/bin/code.sh b/resources/win32/bin/code.sh index 28c48b8d72d..5d92383c496 100644 --- a/resources/win32/bin/code.sh +++ b/resources/win32/bin/code.sh @@ -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