Skip to content

Commit 8158580

Browse files
committed
fix
1 parent bcd57fc commit 8158580

File tree

1 file changed

+3
-3
lines changed
  • registry/coder/modules/rstudio-server

1 file changed

+3
-3
lines changed

registry/coder/modules/rstudio-server/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ delay=2
1313
attempt=1
1414

1515
while ! docker ps; do
16-
if [ $$attempt -ge $$max_attempts ]; then
16+
if [ $attempt -ge $max_attempts ]; then
1717
echo "Failed to list containers after $${max_attempts} attempts."
1818
exit 1
1919
fi
2020
echo "Attempt $${attempt} failed, retrying in $${delay}s..."
2121
sleep $delay
22-
attempt=`expr "$$attempt" + 1`
23-
delay=`expr "$$delay" \* 2` # exponential backoff
22+
attempt=`expr "$attempt" + 1`
23+
delay=`expr "$delay" \* 2` # exponential backoff
2424
done
2525

2626

0 commit comments

Comments
 (0)