richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
9fc0f6
From 4a725025497979ad512e242335360b23fb43b349 Mon Sep 17 00:00:00 2001
9fc0f6
From: Michal Sekletar <msekleta@redhat.com>
9fc0f6
Date: Mon, 10 Mar 2014 18:11:45 +0100
9fc0f6
Subject: [PATCH] logind: add forgotten call to user_send_changed()
9fc0f6
9fc0f6
---
9fc0f6
 src/login/logind-session.c | 1 +
9fc0f6
 1 file changed, 1 insertion(+)
9fc0f6
9fc0f6
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
9fc0f6
index f31961a..e519d35 100644
9fc0f6
--- a/src/login/logind-session.c
9fc0f6
+++ b/src/login/logind-session.c
9fc0f6
@@ -587,6 +587,7 @@ int session_start(Session *s) {
9fc0f6
 
9fc0f6
         /* Send signals */
9fc0f6
         session_send_signal(s, true);
9fc0f6
+        user_send_changed(s->user, "Sessions\0");
9fc0f6
 
9fc0f6
         if (s->seat) {
9fc0f6
                 if (s->seat->active == s)