diff options
-rwxr-xr-x | bin/coderay | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/coderay b/bin/coderay index 994098d..ccf16a9 100755 --- a/bin/coderay +++ b/bin/coderay @@ -159,7 +159,7 @@ when 'highlight', nil rescue CodeRay::Scanners::Scanner::ScanError # FIXME: rescue Errno::EPIPE # this is sometimes raised by pagers; ignore [TODO: wtf?] ensure - file.close + file.close if output_file end end when 'li', 'list' |