From c33b077541e3a5f4f85d9a3da9f286fac88e057b Mon Sep 17 00:00:00 2001
From: =?utf8?q?Paul=20H=C3=A4nsch?= <paul@plutz.net>
Date: Thu, 7 Jan 2021 00:14:48 +0100
Subject: [PATCH] fix syntax error m)

---
 index.cgi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.cgi b/index.cgi
index a972204..2313997 100755
--- a/index.cgi
+++ b/index.cgi
@@ -109,9 +109,9 @@ case ${LOCATION} in
 	]
 	$(if [ "$CHANNEL_LIST" = on ]; then
 	  printf '[h2 Existing channels][div #channels'
-	  $(for chan in "$_DATA/&"*; do
+	  for chan in "$_DATA/&"*; do
 	    printf '[a href="./%s" . %s]\n' "$(HTML "${chan##*/}")" "$(HTML "${chan##*/}")"
-	  done)
+	  done
 	  printf ']'
 	fi)
 	EOF
-- 
2.39.5