diff --git a/rootfs/usr/local/bin/entrypoint.sh b/rootfs/usr/local/bin/entrypoint.sh index 9a604fc..a8490f8 100755 --- a/rootfs/usr/local/bin/entrypoint.sh +++ b/rootfs/usr/local/bin/entrypoint.sh @@ -579,7 +579,7 @@ healthcheck) if [ -d "/run/healthcheck" ] && [ "$(ls -A "/run/healthcheck" | wc -l)" -ne 0 ]; then for service in /run/healthcheck/*; do name="${service##*/}" - services+="$name " + services+=" $name" done fi services="$(echo "$services" | tr ' ' '\n' | sort -u | grep -v '^$')"