mirror of
https://github.com/webmin/webmin.git
synced 2026-05-07 15:50:27 +01:00
Actually close file handle
This commit is contained in:
@@ -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 = "<pre>";
|
||||
while(<$fh4>) {
|
||||
|
||||
Reference in New Issue
Block a user