Improve wording when launching from sudo

This commit is contained in:
Daniel Imms
2017-11-28 12:16:43 -08:00
parent 9b95fbfee7
commit a25c3980e7

View File

@@ -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