summaryrefslogtreecommitdiff
path: root/src/network/networkd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r--src/network/networkd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c
index 0e3892007f..00e9a5f3da 100644
--- a/src/network/networkd.c
+++ b/src/network/networkd.c
@@ -70,6 +70,12 @@ int main(int argc, char *argv[]) {
goto out;
}
+ r = manager_bus_listen(m);
+ if (r < 0) {
+ log_error("Could not connect to system bus: %s", strerror(-r));
+ goto out;
+ }
+
/* write out empty resolv.conf to avoid a
* dangling symlink */
r = manager_update_resolv_conf(m);