From 0a11b589e59fe391c0d5402f8100965d2c47ebc1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 22 Aug 2026 09:45:33 -0700 Subject: [PATCH] docker: keep the worker's argument boundaries Unquoted $@ splits on whitespace and expands globs, so an argument carrying either arrived as something else. Claude-Session: https://claude.ai/code/session_01Rkp1Mw5E89Jp6dzJFYiMrm --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index e451d9f85..0bbd50787 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -97,7 +97,7 @@ case "$1" in echo "Use 'worker' for the Go maintenance worker instead." >&2 exit 1 fi - exec /usr/bin/weed-worker $@ + exec /usr/bin/weed-worker "$@" ;; 'server')