From 06edf783fa3441fe277fcc595eaec74031cb5fdf Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 11 Jan 2014 18:21:30 -0800 Subject: [PATCH] Actually close file handle --- squid/calamaris.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/squid/calamaris.cgi b/squid/calamaris.cgi index 53ebdff16..670558695 100755 --- a/squid/calamaris.cgi +++ b/squid/calamaris.cgi @@ -100,7 +100,7 @@ else { close($fh3); } } -close(CAL); +close($fh2); # Put the calamaris output into a nice webmin like table. my $date = &make_date(time()); @@ -109,7 +109,7 @@ print &ui_table_start(&text('calamaris_gen', $date), undef, 2); # Get the output my $fh4; open($fh4, $temp); -my $html; +my $html = ""; if ($config{'cal_fmt'} eq 'm') { $html = "
";
 	while(<$fh4>) {