]> git.plutz.net Git - confetti/blobdiff - index.cgi
no escapes in debug function
[confetti] / index.cgi
index 327135f8f21529e9cb029bba29b530e3a22a5ad8..90ded2d30b79bef9c9f0882106121eb6420c949f 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -7,7 +7,7 @@ die() {
 }
 debug() { #change to false to disable debugging
   #true && echo "$*" >>debug
-  true && [ -n "$*" ] && echo "$*" >>/dev/stderr
+  true && [ -n "$*" ] && echo -E "$*" >>/dev/stderr
   true && [ -z "$*" ] && tee /dev/stderr
 }