summaryrefslogtreecommitdiff
path: root/src/dbus-target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-target.c')
-rw-r--r--src/dbus-target.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus-target.c b/src/dbus-target.c
index 1eb3c249f8..1cbeccb579 100644
--- a/src/dbus-target.c
+++ b/src/dbus-target.c
@@ -38,6 +38,10 @@
BUS_INTROSPECTABLE_INTERFACE \
"</node>\n"
+#define INTERFACES_LIST \
+ BUS_UNIT_INTERFACES_LIST \
+ "org.freedesktop.systemd1.Target\0"
+
const char bus_target_interface[] _introspect_("Target") = BUS_TARGET_INTERFACE;
DBusHandlerResult bus_target_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) {
@@ -46,5 +50,5 @@ DBusHandlerResult bus_target_message_handler(Unit *u, DBusConnection *c, DBusMes
{ NULL, NULL, NULL, NULL, NULL }
};
- return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties);
+ return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, INTERFACES_LIST, properties);
}