Update sd-daemon.[hc] from upstream
authorMartin Pitt <martinpitt@gnome.org>
Thu, 21 Mar 2013 08:37:48 +0000 (09:37 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 25 Mar 2013 13:59:17 +0000 (13:59 +0000)
commit751f6783c4e185b05765e7217c782dcb6f0df3e9
tree16edde0e16909beaa449670cefcf5a5c158f11d1
parente25938d52731e1dc59b4aeaaec186578f8cd16af
Update sd-daemon.[hc] from upstream

This fixes sd_booted() to actually mean "have systemd init", which we need for
_dbus_init_system_log() to decide whether systemd journal is being used.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=62585
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/sd-daemon.c