Skip to content

Commit c1d35b1

Browse files
aptalcathelamer
authored andcommitted
fix auth param
1 parent a3a6e0f commit c1d35b1

File tree

1 file changed

+3
-2
lines changed
  • root/etc/services.d/code-server

1 file changed

+3
-2
lines changed

root/etc/services.d/code-server/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/with-contenv bash
22

33
if [ -n "${PASSWORD}" ]; then
4-
AUTH="--auth password"
4+
AUTH="password"
55
else
6+
AUTH="none"
67
echo "starting with no password"
78
fi
89

@@ -14,5 +15,5 @@ exec \
1415
--extensions-dir /config/extensions \
1516
--disable-telemetry \
1617
--disable-updates \
17-
${AUTH} \
18+
--auth "${AUTH}" \
1819
/config/workspace

0 commit comments

Comments
 (0)