]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Revert "lib/pager: Apply pager-specific fixes only when needed"
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 13 Apr 2024 07:42:39 +0000 (09:42 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 13 Apr 2024 07:44:42 +0000 (09:44 +0200)
commit966cb1382b59a9c1d5735b47aba27050c6d5c7e5
tree55f9a9a74fe11f79e5b990939de872e0efc28238
parent5ebf0edb0a0531cba801c7791543c610725bf944
Revert "lib/pager: Apply pager-specific fixes only when needed"

Less is not always detectable, as it can be hidden behind symlinks or
wrapper as for example in a default Debian installation.
Also testing for the literal string "less" does not match full path
specifications like "/usr/bin/less".

Instead always apply the fixes.

This reverts commit c10ad975895372122f72c8d9da089b6ea69f778b.
Closes #2951
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/pager.c