Skip to content

Commit

Permalink
fix elif
Browse files Browse the repository at this point in the history
  • Loading branch information
getong committed Jun 22, 2024
1 parent fb272ca commit 0cc667d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ while true; do
if [ "$HEALTH" = "unhealthy" ]; then
echo "Container $CONTAINER_NAME is healthy!"
break
else if [ "$HEALTH" = "healthy" ]; then
elif [ "$HEALTH" = "healthy" ]; then
echo "Container $CONTAINER_NAME is healthy!"
break
else
Expand Down

0 comments on commit 0cc667d

Please sign in to comment.