X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=index.cgi;h=327135f8f21529e9cb029bba29b530e3a22a5ad8;hp=f0127826c0eb8f7210d5b7a9d54a0f19e91ca632;hb=28a2c1efac4c9bb93a57f09a387f5991e0c7573c;hpb=8e3f9e69a0f01d1aa0871901ee06ffa90dadc8bc 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