We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57843ce commit a884248Copy full SHA for a884248
1 file changed
src/playwright/install.sh
@@ -10,7 +10,7 @@ if [ "${USERNAME}" = "auto" ] || [ "${USERNAME}" = "automatic" ]; then
10
USERNAME="${_REMOTE_USER}"
11
else
12
USERNAME=""
13
- POSSIBLE_USERS=("vscode" "node" "codespace" "$(awk -v val=1000 -F ":" '$3==val{print $1}' /etc/passwd)")
+ POSSIBLE_USERS=("vscode" "node" "codespace" "$(awk -v val=1000 -F ":" '$3>=val{print $1}' /etc/passwd)")
14
for CURRENT_USER in "${POSSIBLE_USERS[@]}"; do
15
if [ -n "${CURRENT_USER}" ] && id -u ${CURRENT_USER} > /dev/null 2>&1; then
16
USERNAME=${CURRENT_USER}
0 commit comments