X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-session-dbus.c;h=a39486527ca8331a0f9e953ba458075c3778c25f;hb=8622c1b84e198fb2d0626e622dfeaaa446e38f3a;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..a39486527 100644 --- 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; - /* 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); - 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;