chiark / gitweb /
libsystemd-logind: fix detection of session/user/machine of a PID
[elogind.git] / src / login / logind-session.c
index 93e4037..6e1bf6d 100644 (file)
@@ -467,7 +467,7 @@ static int session_start_scope(Session *s) {
         dbus_error_init(&error);
 
         if (!s->scope) {
-                s->scope = strjoin("session.", s->id, ".scope", NULL);
+                s->scope = strjoin("session-", s->id, ".scope", NULL);
                 if (!s->scope)
                         return log_oom();