diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ssic.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ssic.pl b/src/ssic.pl index 8ecc30e..5cc04ef 100644 --- a/src/ssic.pl +++ b/src/ssic.pl @@ -152,6 +152,13 @@ sub compile } print($output_fh $ssi->process(<$input_fh>)); + + if ($input ne "-") { + close($input_fh); + } + if ($output ne "-") { + close($output_fh); + } } main(); |