mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
fix #41429
This commit is contained in:
parent
ca023a700f
commit
262660203e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue