From fafb6eccc2c9e3f8d6ce0aad9cb428f8cc402b24 Mon Sep 17 00:00:00 2001 From: Zbigniew Jedrzejewski-Szmek Date: Fri, 20 Jul 2012 09:06:26 +0200 Subject: journalctl: fix ellipsization with PAGER=cat There are other reasons for not opening the pager then the --no-pager or --follow options (described below). If the pager is not used, messages must be ellipsized. On Fri, Jul 20, 2012 at 05:42:44AM +0000, Shawn Landen wrote: > "Pager to use when --no-pager is not given; overrides $PAGER. > Setting this to an empty string or the value cat is equivalent to passing --no-pager." --- src/shared/pager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shared/pager.h') diff --git a/src/shared/pager.h b/src/shared/pager.h index dcd61957ef..0b4afc04b8 100644 --- a/src/shared/pager.h +++ b/src/shared/pager.h @@ -21,5 +21,7 @@ along with systemd; If not, see . ***/ -void pager_open(void); +#include + +bool pager_open(void); void pager_close(void); -- cgit v1.2.3-54-g00ecf