From: dms Date: Sun, 10 Sep 2000 14:40:31 +0000 (+0000) Subject: was opening sql debug file for read, not write. typo X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e026e1af877840198b91aa6c0c6325527bc8b1ed;p=infobot.git was opening sql debug file for read, not write. typo git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@84 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/logger.pl b/blootbot/src/logger.pl index dfb64e0..cd94341 100644 --- a/blootbot/src/logger.pl +++ b/blootbot/src/logger.pl @@ -315,7 +315,7 @@ sub status { } sub openSQLDebug { - if (!open(SQLDEBUG, $param{'SQLDebug'})) { + if (!open(SQLDEBUG, ">>$param{'SQLDebug'}")) { &ERROR("cannot open $param{'SQLDebug'}..."); delete $param{'SQLDebug'}; return 0;