We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd57fc commit 8158580Copy full SHA for 8158580
registry/coder/modules/rstudio-server/run.sh
@@ -13,14 +13,14 @@ delay=2
13
attempt=1
14
15
while ! docker ps; do
16
- if [ $$attempt -ge $$max_attempts ]; then
+ if [ $attempt -ge $max_attempts ]; then
17
echo "Failed to list containers after $${max_attempts} attempts."
18
exit 1
19
fi
20
echo "Attempt $${attempt} failed, retrying in $${delay}s..."
21
sleep $delay
22
- attempt=`expr "$$attempt" + 1`
23
- delay=`expr "$$delay" \* 2` # exponential backoff
+ attempt=`expr "$attempt" + 1`
+ delay=`expr "$delay" \* 2` # exponential backoff
24
done
25
26
0 commit comments