From: Paul Hänsch Date: Wed, 6 Jan 2021 23:14:48 +0000 (+0100) Subject: fix syntax error m) X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;p=httpchat fix syntax error m) --- 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