From 22a63662583b5e887148b259693e25d19ec315e7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 9 Aug 2026 20:49:22 +0000 Subject: [PATCH] coturn: fix unescaped backticks corrupting generated README + stray error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Adding a new service that needs TURN" example in coturn.sh's write_readme heredoc had one unescaped backtick pair (`sudo ./setup.sh coturn`) while every other backtick in the same heredoc was correctly escaped. Since write_readme's heredoc is unquoted (intentionally, so $DIR-style interpolation works elsewhere in the file), bash treated it as a command substitution: it actually tried to execute `sudo ./setup.sh coturn` at install time, printed "sudo: ./setup.sh: command not found" to the terminal on every coturn install, and silently dropped the intended text from the generated README. Found while verifying the shared-coturn multi-consumer flow end-to-end (coturn install -> asterisk + 2 mattermost instances all registering concurrently) — confirmed working correctly otherwise: three distinct credential files, no collisions, all three referencing the same host/ port, and reruns correctly reuse the cached credential instead of regenerating. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01TBtExJcqxnokyZZKmphdug --- services/coturn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/coturn.sh b/services/coturn.sh index 7b7ec33..19b3fdc 100644 --- a/services/coturn.sh +++ b/services/coturn.sh @@ -362,7 +362,7 @@ if [ -n "\$COTURN_HOST" ]; then # configure_caddy_for_service's CADDY_SERVICE_* out-params) else # coturn unavailable — degrade gracefully (no TURN, or prompt to run - # `sudo ./setup.sh coturn` first) + # \`sudo ./setup.sh coturn\` first) fi \`\`\` MD