]> git.plutz.net Git - confetti/commitdiff
fix in displaying error message
authorPaul Hänsch <paul@plutz.net>
Wed, 6 Jan 2021 11:04:22 +0000 (12:04 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 6 Jan 2021 11:04:22 +0000 (12:04 +0100)
index.cgi

index 9d74909e010eda7aaf914ffeb0ab5aba7a10cf51..5dc55be28dab259b079cb0e6d247249e0f93cdc8 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -56,7 +56,7 @@ yield_page() {
        ] [body #top class="%s"
     ' "$class"
     cat
-    [ "$message" ] && printf '[p #message\n%s\n]' $(l10n "$message")
+    [ "$message" ] && printf '[p #message\n%s\n]' "$(l10n "$message")"
     printf '] ]'
   } \
   | "${_EXEC}/cgilite/html-sh.sed"