Skip to content

Commit

Permalink
Fix for loop syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Feb 20, 2025
1 parent 45907aa commit 90befb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/templates/wrapper-body.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function wait_for_container_exit() {
local i n shells
n=15

for i in {0..$n}; do
for (( i=0; i<=n; i++ )); do
# Try n times to see if the container is still running, quit when it is no longer found
if [ -z "$(docker ps -q --filter "id=${CONTAINER_ID:0:12}")" ]; then
i=0
Expand Down

0 comments on commit 90befb0

Please sign in to comment.