mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
fix #41429
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
for i in $@
|
||||
do
|
||||
if [[ $i == --user-data-dir=* || $i == --file-write ]]; then
|
||||
if [[ $i == --user-data-dir || $i == --user-data-dir=* || $i == --file-write ]]; then
|
||||
CAN_LAUNCH_AS_ROOT=1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user