daandemeyer / rpms / systemd

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