From 474a28663f2871c91ea758c1fa4e0cf9bc7326a5 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Tue, 10 Jan 2023 17:22:13 -0700 Subject: CGI improvements --- examples/cgi/cgi-bin/cowsay | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/cgi/cgi-bin/cowsay') diff --git a/examples/cgi/cgi-bin/cowsay b/examples/cgi/cgi-bin/cowsay index e63e909..fc1f4e5 100755 --- a/examples/cgi/cgi-bin/cowsay +++ b/examples/cgi/cgi-bin/cowsay @@ -2,8 +2,7 @@ set -euo pipefail -if [ -z "$QUERY_STRING" ]; -then +if [[ -z "$QUERY_STRING" ]]; then printf "10 Enter a phrase.\r\n" exit 0 fi -- cgit v1.2.3