From 064976ed6e4e4b73f86fe2fa9c25b6e8d1143968 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 13 Nov 2025 14:59:35 -0500 Subject: [PATCH] feat: Fixes entrypoint script that was not appropriately handling arguments to hpa script. --- docker/entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 587cf3d..6463067 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/bash +declare -a args + # Allows to attach to a shell inside the container, or run ansbile commands, # otherwise run the 'hpa' script with the given arguments. # @@ -16,7 +18,10 @@ while [[ $# -gt 0 ]]; do exec "$@" exit $? else - /usr/local/bin/hpa "$@" + args+=("$1") fi shift done + +# If we made it here then run the hpa script. +/usr/local/bin/hpa "${args[@]}"