X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;ds=inline;f=index.cgi;h=327135f8f21529e9cb029bba29b530e3a22a5ad8;hb=794a134935cb59c5bd014026f1bed4a08a5645c9;hp=f0127826c0eb8f7210d5b7a9d54a0f19e91ca632;hpb=8e3f9e69a0f01d1aa0871901ee06ffa90dadc8bc;p=confetti diff --git a/index.cgi b/index.cgi index f012782..327135f 100755 --- a/index.cgi +++ b/index.cgi @@ -7,7 +7,8 @@ die() { } debug() { #change to false to disable debugging #true && echo "$*" >>debug - true && echo "$*" >>/dev/stderr + true && [ -n "$*" ] && echo "$*" >>/dev/stderr + true && [ -z "$*" ] && tee /dev/stderr } # this program is supposed to be symlinked into a http root directory