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=d71caaa9e4c27a4210c37e91d6f7bc3be2fe7cb5;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/blootbot@84 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/logger.pl b/src/logger.pl index dfb64e0..cd94341 100644 --- a/src/logger.pl +++ b/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;