diff options
-rwxr-xr-x | error.cgi | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -89,3 +89,14 @@ end $h << "</div></div>" $h.out($cgi) + + +tmpfile = "/tmp/error.#{rand(10000)}" +File.open(tmpfile,"w"){|f| + f << errorstr +} + +`mail -s "Bug in dudle" #{BUGREPORTMAIL} < #{tmpfile}` + +File.delete(tmpfile) + |