coredump: Don't log an error if D-Bus isn't running
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 6 Oct 2021 12:20:36 +0000 (13:20 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 6 Oct 2021 17:23:11 +0000 (02:23 +0900)
commit414bd2e786f9912f51b82e5fe4a1126179a5652a
treeed374a3edeb2130055236f465141e30b6a00cb6d
parentd489317f5951850e91682b05ca7c96c5c3bc3f4d
coredump: Don't log an error if D-Bus isn't running

coredumpctl could be used in a chroot where D-Bus isn't running. If
that's the case, we shouldn't consider it an error if we can't connect
to the D-Bus daemon so let's reduce the severity of the error we log
when we can't connect to D-Bus because the socket doesn't exist.
src/coredump/coredumpctl.c