X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-session-dbus.c;h=7b45f783002f0bc3f369160ae0da1dabaa308fae;hb=33ca31d7107330a9f5ddf26720fccbe623da5176;hp=d1e652344686426010cb25362f18e3ec716420ca;hpb=a1194d1c4627a7dc4077773f871f6622a09d142a;p=elogind.git diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index d1e652344..7b45f7830 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -768,10 +768,13 @@ int session_send_create_reply(Session *s, sd_bus_error *error) { 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); + +#if 1 /// Additionally elogind saves the user state file user_save(s->user); +#endif // 1 p = session_bus_path(s); if (!p)