1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00

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

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... */