Skip to content

Commit

Permalink
Improve wording when launching from sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Nov 28, 2017
1 parent 9b95fbf commit a25c398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/linux/bin/code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ "$(id -u)" = "0" ]; then
fi
done
if [ -z $DATA_DIR_SET ]; then
echo "It is recommended to start vscode as a normal user. To run as root, you must specify an alternate user data directory with the --user-data-dir argument." 1>&2
echo "You are trying to start vscode as a super user which is not recommended. If you really want to, you must specify an alternate user data directory using the --user-data-dir argument." 1>&2
exit 1
fi
fi
Expand Down

0 comments on commit a25c398

Please sign in to comment.