diff options
| -rwxr-xr-x | greypool | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -423,7 +423,7 @@ sub apply_config { $color_output = -t STDOUT; } - if(!defined($no_pager) && defined($pager) && -t STDOUT) { + if(!$html && !defined($no_pager) && defined($pager) && -t STDOUT) { open $outfh, "|$pager" or fatal "can't execute pager"; select $outfh; } @@ -763,7 +763,7 @@ sub print_report_footer { if($count && !$html) { print $count . " package" . ($count == 1 ? "" : "s") . " out of date.\n"; } - print "</body></html>" if $html && (!$html_frag); + print "</body></html>\n" if $html && (!$html_frag); } ####### ANSI color stuff |
