From 25748a62aefddfeba73f8d249a66e4ca438d6174 Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Tue, 29 Sep 2026 22:20:05 +0200 Subject: [PATCH] fix(sentry-admin): Run the container once for --help rename_sentry_bin_in_help_output already receives the help output as $1, but it ran the container again with its own arguments, passing the whole help text as the command. The bash entrypoint echoed that argument in its error message, so the help text still appeared by accident; the Python entrypoint in the current sentry image doesn't, so --help printed only a traceback. --- sentry-admin.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/sentry-admin.sh b/sentry-admin.sh index ef5608488f9..a46a7d8774d 100755 --- a/sentry-admin.sh +++ b/sentry-admin.sh @@ -35,8 +35,6 @@ rename_sentry_bin_in_help_output() { local help_prefix="$2" local usage_seen=false - output=$(invocation "$@") - echo -e "\n\n" while IFS= read -r line; do