--- trunk/run.pl 2006/09/11 15:59:35 671 +++ trunk/run.pl 2006/09/11 20:26:01 672 @@ -491,7 +491,7 @@ $marc->finish if ($marc); # close report - close($report_fh) || $log->logdie("can't close report: $!"); + close($report_fh) if ($report_fh) } }