diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-10-26 16:43:54 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-10-26 16:43:54 -0400 |
| commit | b681fb311001d9f11d26e518af0aa8388e23883b (patch) | |
| tree | 7c1c7e0153c2c3d31483f56488f686c6797e13b2 | |
| parent | 195b074a0bf0d89a8b5729825a46bbe1b7ec37d7 (diff) | |
| download | greypool-b681fb311001d9f11d26e518af0aa8388e23883b.tar.gz | |
Don't use pager for HTML output.
| -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 |
