pager: also redirect stderr
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Aug 2015 22:13:34 +0000 (00:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 28 Aug 2015 00:05:58 +0000 (02:05 +0200)
commit8b5264aa65ea8f631990174a6f705d5a0d8e95fc
tree0e915cc2deef3c76ce7b903799c41f65a3d0aafa
parent6a7c676c54eb205d80f124eeb66c84df3c54d174
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