|
@@ -82,9 +82,9 @@ paginate(){
|
|
|
if [ -n "$PAGER" ]
|
|
|
then
|
|
|
$PAGER
|
|
|
- elif which more 2>/dev/null || echoerr "Failed to paginate input with "$PAGER"."
|
|
|
+ elif which more &>/dev/null || echoerr "Failed to paginate input with "$PAGER"."
|
|
|
then
|
|
|
- more 2>/dev/null || echoerr "Failed to paginate input with "more"."
|
|
|
+ more || echoerr "Failed to paginate input with "more"."
|
|
|
else
|
|
|
echoerr "No default pager set and "more" binary not found."
|
|
|
fi
|