mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Improve wording when launching from sudo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user