diff options
-rw-r--r-- | src/login/logind-seat-dbus.c | 4 | ||||
-rw-r--r-- | src/login/logind-session-dbus.c | 4 | ||||
-rw-r--r-- | src/login/logind-user-dbus.c | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c index a99d0084ef..fb32b139fc 100644 --- a/src/login/logind-seat-dbus.c +++ b/src/login/logind-seat-dbus.c @@ -404,6 +404,10 @@ int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char *** return r; } + r = strv_extend(&l, "/org/freedesktop/login1/seat/self"); + if (r < 0) + return r; + *nodes = l; l = NULL; diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 4e75d5b209..a6b15f28a0 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -563,6 +563,10 @@ int session_node_enumerator(sd_bus *bus, const char *path, void *userdata, char return r; } + r = strv_extend(&l, "/org/freedesktop/login1/session/self"); + if (r < 0) + return r; + *nodes = l; l = NULL; diff --git a/src/login/logind-user-dbus.c b/src/login/logind-user-dbus.c index 812a19f83b..e811b37369 100644 --- a/src/login/logind-user-dbus.c +++ b/src/login/logind-user-dbus.c @@ -319,6 +319,10 @@ int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char *** return r; } + r = strv_extend(&l, "/org/freedesktop/login1/user/self"); + if (r < 0) + return r; + *nodes = l; l = NULL; |