cli: a running `code tunnel/serve-web` subcommands as root (#200207)

Fixes #193932
pull/196516/head
Connor Peet 2023-12-06 18:32:36 -08:00 committed by GitHub
parent 2d50c20ad2
commit 9bbc169b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ if [ "$(id -u)" = "0" ]; then
for i in "$@"
do
case "$i" in
--user-data-dir | --user-data-dir=* | --file-write )
--user-data-dir | --user-data-dir=* | --file-write | tunnel | serve-web )
CAN_LAUNCH_AS_ROOT=1
;;
esac