]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix logfh call
authorDon Armstrong <don@donarmstrong.com>
Fri, 6 Aug 2010 06:31:05 +0000 (02:31 -0400)
committerDon Armstrong <don@donarmstrong.com>
Fri, 6 Aug 2010 06:31:05 +0000 (02:31 -0400)
scripts/process

index 0dbb3b2777de6f21888cc93e1d1a12876f02e7d3..4f7d15a8bfe25182df6bb13fe9f0163a59445f6f 100755 (executable)
@@ -999,7 +999,7 @@ sub sendmessage {
 
     my $hash = get_hashname($ref);
     #save email to the log
-    my $logfh = IO::File->new("db-h/${hash}/${ref}.log",'w') or
+    my $logfh = IO::File->new(">>db-h/${hash}/${ref}.log") or
        die "opening db-h/$hash/${ref}.log: $!";
     write_log_records(logfh => $logfh,
                      records => {text => stripbccs($msg),