chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pam: include pam_keyinit.so in our PAM fragments
[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 d1e652344686426010cb25362f18e3ec716420ca..a39486527ca8331a0f9e953ba458075c3778c25f 100644
(file)
--- a/
src/login/logind-session-dbus.c
+++ b/
src/login/logind-session-dbus.c
@@
-768,11
+768,13
@@
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
and user state files before we notify
- *
the client
about the result. */
+ /* Update the session
state file before we notify the client
+ * about the result. */
session_save(s);
session_save(s);
- user_save(s->user);
+#if 1 /// Additionally elogind saves the user state file
+ user_save(s->user);
+#endif // 1
p = session_bus_path(s);
if (!p)
return -ENOMEM;
p = session_bus_path(s);
if (!p)
return -ENOMEM;