aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-10-26 16:43:54 -0400
committerB. Watson <urchlay@slackware.uk>2026-10-26 16:43:54 -0400
commitb681fb311001d9f11d26e518af0aa8388e23883b (patch)
tree7c1c7e0153c2c3d31483f56488f686c6797e13b2
parent195b074a0bf0d89a8b5729825a46bbe1b7ec37d7 (diff)
downloadgreypool-b681fb311001d9f11d26e518af0aa8388e23883b.tar.gz
Don't use pager for HTML output.
-rwxr-xr-xgreypool4
1 files changed, 2 insertions, 2 deletions
diff --git a/greypool b/greypool
index 325f8d5..183adf1 100755
--- a/greypool
+++ b/greypool
@@ -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