aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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