]> git.ipfire.org Git - thirdparty/systemd.git/commit
loginctl: rework sysfs tree dump, to honour --full and friends 7301/head
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Nov 2017 20:44:29 +0000 (21:44 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Nov 2017 20:44:29 +0000 (21:44 +0100)
commit3850319be55d3e45df1af07323d283248cbbe88d
treea458e2a95c318d0486327979cfc18f6dc2bc4ec9
parentddbc931986bac931a07a1aeb507a1a30153ac7ed
loginctl: rework sysfs tree dump, to honour --full and friends

Let's hook up the sysfs tree output with the output flags logic,
already used when dumping log lines or process trees. This way we get
very similar output handling for line breaking/ellipsation in all three
outputs of structured data.

Fixes: #7095
src/login/loginctl.c
src/login/sysfs-show.c
src/login/sysfs-show.h