dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
9fc0f6
From eed10abd7ed29316dcc0a234506117069c98f949 Mon Sep 17 00:00:00 2001
9fc0f6
From: Michal Sekletar <msekleta@redhat.com>
9fc0f6
Date: Mon, 10 Mar 2014 17:47:35 +0100
9fc0f6
Subject: [PATCH] logind: fix reference to systemd-user-sessions.service
9fc0f6
9fc0f6
---
9fc0f6
 src/login/logind-session.c | 2 +-
9fc0f6
 1 file changed, 1 insertion(+), 1 deletion(-)
9fc0f6
9fc0f6
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
9fc0f6
index 2bac0a2..f31961a 100644
9fc0f6
--- a/src/login/logind-session.c
9fc0f6
+++ b/src/login/logind-session.c
9fc0f6
@@ -518,7 +518,7 @@ static int session_start_scope(Session *s) {
9fc0f6
                 if (!scope)
9fc0f6
                         return log_oom();
9fc0f6
 
9fc0f6
-                r = manager_start_scope(s->manager, scope, s->leader, s->user->slice, description, "systemd-logind.service", "systemd-user-session.service", &error, &job;;
9fc0f6
+                r = manager_start_scope(s->manager, scope, s->leader, s->user->slice, description, "systemd-logind.service", "systemd-user-sessions.service", &error, &job;;
9fc0f6
                 if (r < 0) {
9fc0f6
                         log_error("Failed to start session scope %s: %s %s",
9fc0f6
                                   scope, bus_error(&error, r), error.name);