summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-01-20 19:43:38 +0100
committerLennart Poettering <lennart@poettering.net>2011-01-20 19:43:38 +0100
commit3996fbe2a2a212d9ac983950602cc09db55d77ef (patch)
tree8ba6323f1875c005ac310f2d12c95ba912a6630e /src/unit.c
parent867b3b7d6b88ba4d07ec7c830576d4ac2f7dd226 (diff)
dbus: don't try to connect to the system bus before it is actually up
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c
index 9dd02676e3..a7e6714c45 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -1194,7 +1194,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
/* The bus just might have become available,
* hence try to connect to it, if we aren't
* yet connected. */
- bus_init(u->meta.manager);
+ bus_init(u->meta.manager, true);
if (unit_has_name(u, SPECIAL_SYSLOG_SERVICE))
/* The syslog daemon just might have become