networkd: do not fail manager_connect_bus() if dbus is not active yet

Fixes #6618.
This commit is contained in:
Yu Watanabe 2017-08-23 12:36:36 +09:00
parent 521d3679c1
commit fb72b1d99f
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ int manager_connect_bus(Manager *m) {
assert(m);
r = sd_bus_default_system(&m->bus);
if (r == -ENOENT) {
if (r < 0) {
/* We failed to connect? Yuck, we must be in early
* boot. Let's try in 5s again. As soon as we have
* kdbus we can stop doing this... */