From 74cc80cb6bc60083ed4b6e5ef0db4ed912236b1b Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 11 Sep 2006 20:26:01 +0000 Subject: [PATCH] work without report, too :-) git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@672 07558da8-63fa-0310-ba24-9fe276d99e06 --- run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.pl b/run.pl index 8d9f2cb..6d4692d 100755 --- a/run.pl +++ b/run.pl @@ -491,7 +491,7 @@ while (my ($database, $db_config) = each %{ $config->{databases} }) { $marc->finish if ($marc); # close report - close($report_fh) || $log->logdie("can't close report: $!"); + close($report_fh) if ($report_fh) } } -- 2.20.1