]> git.plutz.net Git - clickslide/commitdiff
Merge branch 'master' of git.plutz.net:cgilite
authorPaul Hänsch <paul@plutz.net>
Mon, 12 Nov 2018 01:38:30 +0000 (02:38 +0100)
committerPaul Hänsch <paul@plutz.net>
Mon, 12 Nov 2018 01:38:30 +0000 (02:38 +0100)
cgilite.sh

index 3212137e68bcb262b338256d29b29d952c3ca9d1..a84de140c97867d1a1fc074ac252e390dbf22c7c 100755 (executable)
@@ -92,7 +92,7 @@ if [ -z "$REQUEST_METHOD" ]; then
              "$cgilite_response" "${cgilite_cl}"
            cat
            [ "${cgilite_cl#Connection}" = "${cgilite_cl}" ]; exit;;
-      *) cgilite_response="$cgilite_response${BR}$l";;
+      *) cgilite_response="${cgilite_response:+${cgilite_response}${BR}}${l}";;
     esac; done || exit 0;
     (sleep $cgilite_timeout && kill $$) & cgilite_watchdog=$!
   done