chiark / gitweb /
libsystemd-logind: fix detection of session/user/machine of a PID
[elogind.git] / src / login / logind-machine.c
index e4edd40..a1342c1 100644 (file)
@@ -235,7 +235,7 @@ static int machine_start_scope(Machine *m) {
                 if (!escaped)
                         return log_oom();
 
-                m->scope = strjoin("machine.", m->name, ".scope", NULL);
+                m->scope = strjoin("machine-", m->name, ".scope", NULL);
                 if (!m->scope)
                         return log_oom();