mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +03:00
networkd: do not fail manager_connect_bus() if dbus is not active yet
Fixes #6618.
This commit is contained in:
parent
521d3679c1
commit
fb72b1d99f
@ -136,7 +136,7 @@ int manager_connect_bus(Manager *m) {
|
|||||||
assert(m);
|
assert(m);
|
||||||
|
|
||||||
r = sd_bus_default_system(&m->bus);
|
r = sd_bus_default_system(&m->bus);
|
||||||
if (r == -ENOENT) {
|
if (r < 0) {
|
||||||
/* We failed to connect? Yuck, we must be in early
|
/* We failed to connect? Yuck, we must be in early
|
||||||
* boot. Let's try in 5s again. As soon as we have
|
* boot. Let's try in 5s again. As soon as we have
|
||||||
* kdbus we can stop doing this... */
|
* kdbus we can stop doing this... */
|
||||||
|
Loading…
Reference in New Issue
Block a user