summaryrefslogtreecommitdiff
path: root/examples/cgi/cgi-bin/cowsay
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-01-10 17:22:13 -0700
committertjpcc <tjp@ctrl-c.club>2023-01-10 17:22:13 -0700
commit474a28663f2871c91ea758c1fa4e0cf9bc7326a5 (patch)
treea741bea4e5c94237af2e2c7e2f117e770e8635b8 /examples/cgi/cgi-bin/cowsay
parent96f3a7607ffbdb349a4c2eff35efdf11b8d35a4e (diff)
CGI improvements
Diffstat (limited to 'examples/cgi/cgi-bin/cowsay')
-rwxr-xr-xexamples/cgi/cgi-bin/cowsay3
1 files changed, 1 insertions, 2 deletions
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