From: Paul Hänsch Date: Mon, 12 Nov 2018 01:38:30 +0000 (+0100) Subject: Merge branch 'master' of git.plutz.net:cgilite X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=5c24129a2347b2be54fedfec74acc156758e3533;hp=2509a90ca35ffada128256670abf1d5c315ef6ce;p=clickslide Merge branch 'master' of git.plutz.net:cgilite --- diff --git a/cgilite.sh b/cgilite.sh index 3212137..a84de14 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -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