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