From 20bbbfa6fee3ca00300e0632b79efd0054584749 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 27 Dec 2016 14:11:21 +0100 Subject: [PATCH] linux argument startup fix --- resources/linux/bin/code.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh index 2bc6e635930..463a655a4d2 100755 --- a/resources/linux/bin/code.sh +++ b/resources/linux/bin/code.sh @@ -4,7 +4,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # If root, ensure that --user-data-dir is specified -ARGS=$@ if [ "$(id -u)" = "0" ]; then while test $# -gt 0 do @@ -34,5 +33,5 @@ fi ELECTRON="$VSCODE_PATH/@@NAME@@" CLI="$VSCODE_PATH/resources/app/out/cli.js" -ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" $ARGS +ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@" exit $?