From 3a49d642c02f8577096cfd31a89cb07714a95215 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 11 Aug 2018 14:35:30 +0200 Subject: [PATCH] bugfix: header assembly with $BR variable set correctly --- cgilite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgilite.sh b/cgilite.sh index e0d4b93..1235077 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 -- 2.39.2