aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/hostnamed/hostnamed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/hostnamed/hostnamed.c')
-rw-r--r--src/modules/hostnamed/hostnamed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/hostnamed/hostnamed.c b/src/modules/hostnamed/hostnamed.c
index e01742c..2897882 100644
--- a/src/modules/hostnamed/hostnamed.c
+++ b/src/modules/hostnamed/hostnamed.c
@@ -130,7 +130,7 @@ void hostnamed_init() {
guint bus_descriptor;
GError *err = NULL;
- bus_descriptor = g_bus_own_name(G_BUS_TYPE_SESSION,
+ bus_descriptor = g_bus_own_name(G_BUS_TYPE_SYSTEM,
(gchar *)"org.freedesktop.hostname1",
G_BUS_NAME_OWNER_FLAGS_NONE,
on_bus_acquired,