Skip to content

Commit 7c18f31

Browse files
chore: replace runuser with su
Some linux distributions do not ship with runuser
1 parent 64d4c68 commit 7c18f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code-server/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cat > /usr/local/bin/code-server-entrypoint \
2222
#!/usr/bin/env bash
2323
set -e
2424
25-
runuser -l $_REMOTE_USER -c 'code-server --bind-addr "$HOST:$PORT" \$ARGS'
25+
su $_REMOTE_USER -c 'code-server --bind-addr "$HOST:$PORT" \$ARGS'
2626
EOF
2727

2828
chmod +x /usr/local/bin/code-server-entrypoint

0 commit comments

Comments
 (0)