Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordivinity76 <divinity76@gmail.com>2022-02-10 19:55:47 +0300
committerGitHub <noreply@github.com>2022-02-10 19:55:47 +0300
commit84ecd33bbc803867c17e20e0bc0236b8af9a0362 (patch)
treebec99a329c4991478c71fa1fd09e09cb85746319 /resources
parent77cbc54fcb0f27ff0d0ecd7c57e59c97c7965fe0 (diff)
Fix error log when launching as root on linux (#137125)
Fix error log when launching as root on linux.
Diffstat (limited to 'resources')
-rwxr-xr-xresources/linux/bin/code.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh
index 73ef78f62dc..bfebec1aa8e 100755
--- a/resources/linux/bin/code.sh
+++ b/resources/linux/bin/code.sh
@@ -30,7 +30,7 @@ if [ "$(id -u)" = "0" ]; then
esac
done
if [ -z $CAN_LAUNCH_AS_ROOT ]; then
- echo "You are trying to start @@PRODNAME@@ as a super user which isn't recommended. If this was intended, please specify an alternate user data directory using the \`--user-data-dir\` argument." 1>&2
+ echo "You are trying to start @@PRODNAME@@ as a super user which isn't recommended. If this was intended, please add the argument \`--no-sandbox\` and specify an alternate user data directory using the \`--user-data-dir\` argument." 1>&2
exit 1
fi
fi