chiark / gitweb /
libsystemd-logind: fix detection of session/user/machine of a PID
[elogind.git] / src / login / logind-machine.c
index e4edd40dba90612342cd682e0765ffc328090614..a1342c155ee50eca4a1e5ec9d59b50746a82f2e6 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();