chiark / gitweb /
pager: also redirect stderr
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Aug 2015 22:13:34 +0000 (00:13 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:08 +0000 (10:45 +0200)
commit1e8d75e46d3c1633e8c5a290677bf64ccd06195e
treef0a0d8282f3a5e2332eb9b582dedd8f25505d369
parente42398b28a4d24b716484cffb2afedf0db55ee98
pager: also redirect stderr

It's really confusing if stdout goes to the pager, but stderr is written
directly to the screen. Hence, make sure both stdout and stderr are
passed to the pager when doing autopaging.
src/shared/pager.c