Skip to content

Commit 99ebdaa

Browse files
committed
Code-insiders started from WSL doesn't return to console/ doesn't connect. Fixes microsoft/vscode-remote-release#780
1 parent 28a51a3 commit 99ebdaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/win32/bin/code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if grep -qi Microsoft /proc/version; then
1616
WSL_BUILD=18362
1717
else
1818
WSL_BUILD=$(uname -r | sed -E 's/^.+-([0-9]+)-Microsoft/\1/')
19-
if ! [ -z "$WSL_BUILD" ]; then
19+
if [ -z "$WSL_BUILD" ]; then
2020
WSL_BUILD=0
2121
fi
2222
fi

0 commit comments

Comments
 (0)