chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c7ec9e2
)
Prep v220: Apply "Fixes to user and session saving"
author
Sven Eden
<yamakuzure@gmx.net>
Mon, 5 Dec 2016 08:21:35 +0000
(09:21 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:17:18 +0000
(10:17 +0100)
src/login/logind-session-dbus.c
patch
|
blob
|
history
diff --git
a/src/login/logind-session-dbus.c
b/src/login/logind-session-dbus.c
index 563153e2d92b64644f35e3c587cbd4da43a71bd3..b5ecc322f56e7fba9d6642a3b3e4e60daa6dc5a7 100644
(file)
--- a/
src/login/logind-session-dbus.c
+++ b/
src/login/logind-session-dbus.c
@@
-714,9
+714,10
@@
int session_send_create_reply(Session *s, sd_bus_error *error) {
if (fifo_fd < 0)
return fifo_fd;
- /* Update the session state file before we notify the client
+ /* Update the session
and user
state file before we notify the client
* about the result. */
session_save(s);
+ user_save(s->user);
p = session_bus_path(s);
if (!p)