diff options
author | Guillem Jover <guillem@hadrons.org> | 2018-04-07 20:02:20 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-07 20:02:20 +0200 |
commit | 5c69b31c137ffa24bca5a4628f9b4879d0f4e84a (patch) | |
tree | f1b96f7f3c4f399f54fe4195a9153347997d6220 /src/shared/dissect-image.c | |
parent | systemd-udevd: limit children-max by available memory (#8668) (diff) | |
download | systemd-5c69b31c137ffa24bca5a4628f9b4879d0f4e84a.tar.xz systemd-5c69b31c137ffa24bca5a4628f9b4879d0f4e84a.zip |
analyze: Do no require a full d-bus bus for the plot command (#8539)
The plot command requires a full d-bus bus to fetch the host
information, which seems rather optional, and having a running dbus
daemon is not always desirable. So instead, we try to acquire a full
bus, and if that fails we acquire the systemd bus, in which case we
omit the host information from the output.
We refactor acquire_bus() into two new functions which in addition
makes the call sites clearer.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions