From d71caaa9e4c27a4210c37e91d6f7bc3be2fe7cb5 Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 10 Sep 2000 14:40:31 +0000 Subject: [PATCH] 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 --- src/logger.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2