[systemd-devel] A bug in systemctl ( systemd-125)
Lennart Poettering
lennart at poettering.net
Tue Jul 8 16:17:19 PDT 2014
On Tue, 08.07.14 22:15, brane2 (brankob at s5tehnika.net) wrote:
> Hi to all,
>
> I thought to inform you that I came across a bug within systemctl.
> Some options produce no output, although according to manuals and
> examples it should.
>
> Like for example:
>
> systemctl -t mount
>
> But if I send systemctl's output through pipe, I get output.
>
> So:
>
> systemctl -t mount | cat
>
> actually produces output.
>
> Interesting thing is that same example without "-t mount" filter
> works, like simple systemctl without arguments.
Most likely your $PAGER is set to something weird?
systemd (like git, ...) does autopaging, where it will automatically
pass long outputs to "less" or some other pager.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list