Skip to content

Commit 20bbbfa

Browse files
committed
linux argument startup fix
1 parent d98785b commit 20bbbfa

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

resources/linux/bin/code.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# Licensed under the MIT License. See License.txt in the project root for license information.
55

66
# If root, ensure that --user-data-dir is specified
7-
ARGS=$@
87
if [ "$(id -u)" = "0" ]; then
98
while test $# -gt 0
109
do
@@ -34,5 +33,5 @@ fi
3433

3534
ELECTRON="$VSCODE_PATH/@@NAME@@"
3635
CLI="$VSCODE_PATH/resources/app/out/cli.js"
37-
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" $ARGS
36+
ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
3837
exit $?

0 commit comments

Comments
 (0)