summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/networkd.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c
index a80740bbea..2f6a12dbcc 100644
--- a/src/network/networkd.c
+++ b/src/network/networkd.c
@@ -51,33 +51,33 @@ int main(int argc, char *argv[]) {
goto out;
}
- r = manager_load_config(m);
+ r = manager_udev_listen(m);
if (r < 0) {
- log_error("Could not load configuration files: %s", strerror(-r));
+ log_error("Could not connect to udev: %s", strerror(-r));
goto out;
}
- r = manager_udev_listen(m);
+ r = manager_rtnl_listen(m);
if (r < 0) {
- log_error("Could not connect to udev: %s", strerror(-r));
+ log_error("Could not connect to rtnl: %s", strerror(-r));
goto out;
}
- r = manager_udev_enumerate_links(m);
+ r = manager_bus_listen(m);
if (r < 0) {
- log_error("Could not enumerate links: %s", strerror(-r));
+ log_error("Could not connect to system bus: %s", strerror(-r));
goto out;
}
- r = manager_rtnl_listen(m);
+ r = manager_load_config(m);
if (r < 0) {
- log_error("Could not connect to rtnl: %s", strerror(-r));
+ log_error("Could not load configuration files: %s", strerror(-r));
goto out;
}
- r = manager_bus_listen(m);
+ r = manager_udev_enumerate_links(m);
if (r < 0) {
- log_error("Could not connect to system bus: %s", strerror(-r));
+ log_error("Could not enumerate links: %s", strerror(-r));
goto out;
}