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
This commit is contained in:
Chris Lu committed 2026-08-22 10:28:20 -07:00
1 parent 76f3233157
commit 0a11b589e5
1 file changed
+1 -1
+1 -1
View File
@@ -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')