summaryrefslogtreecommitdiff
path: root/src/libshared/src/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libshared/src/pager.c')
-rw-r--r--src/libshared/src/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libshared/src/pager.c b/src/libshared/src/pager.c
index 8598d8e51a..a019cf4ec7 100644
--- a/src/libshared/src/pager.c
+++ b/src/libshared/src/pager.c
@@ -63,7 +63,7 @@ int pager_open(bool no_pager, bool jump_to_end) {
if (pager_pid > 0)
return 1;
- if (!on_tty())
+ if (terminal_is_dumb())
return 0;
pager = getenv("SYSTEMD_PAGER");