chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to user and session saving
[elogind.git]
/
src
/
login
/
logind-session-dbus.c
diff --git
a/src/login/logind-session-dbus.c
b/src/login/logind-session-dbus.c
index f71798b20864da2d6cc561fab1323fee34cc9719..337bbbbe8d141583c0105637dc6d1e16e87ca15c 100644
(file)
--- a/
src/login/logind-session-dbus.c
+++ b/
src/login/logind-session-dbus.c
@@
-721,9
+721,10
@@
int session_send_create_reply(Session *s, sd_bus_error *error) {
if (fifo_fd < 0)
return fifo_fd;
if (fifo_fd < 0)
return fifo_fd;
- /* Update the session
state file before we notify the client
- * about the result. */
+ /* Update the session
and user state files before we notify
+ *
the client
about the result. */
session_save(s);
session_save(s);
+ user_save(s->user);
p = session_bus_path(s);
if (!p)
p = session_bus_path(s);
if (!p)