aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/pager.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d/pager.sh')
-rw-r--r--sh/profile.d/pager.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/pager.sh b/sh/profile.d/pager.sh
index a74e6aa1..f0c4fab4 100644
--- a/sh/profile.d/pager.sh
+++ b/sh/profile.d/pager.sh
@@ -1,6 +1,6 @@
# If we don't have less(1), we'll just use whatever pager the application or
# system deems fit
-command -v less >/dev/null || return
+command -v less >/dev/null 2>&1 || return
# Use less(1) as my PAGER
PAGER=less